Seeder
abstract class Seeder
Abstract class for seeders.
Methods
void
run()
All seeders must implement the run method.
void
call(string|array $seederClass)
Processes parameters provided and calls seed class to perform actual work. This function accepts a string or an array of strings.
void
seed(string $seederClass)
Performs seeding of data.
Details
at line 16
abstract void
run()
All seeders must implement the run method.
at line 26
protected void
call(string|array $seederClass)
Processes parameters provided and calls seed class to perform actual work. This function accepts a string or an array of strings.
at line 46
private void
seed(string $seederClass)
Performs seeding of data.