class
Illuminate
/
Database
/
Console
/
Seeds
/
SeedCommand
SeedCommand
Extends
Uses
Properties
protected
$name string
The console command name.
Default: 'db:seed'
protected
$description string
The console command description.
Default: 'Seed the database with records'
Methods
public
__construct ( ConnectionResolverInterface $resolver ) : void
Create a new database seed command instance.
Parameters
- $resolver ConnectionResolverInterface
public
handle ( ) : int
Execute the console command.
protected
getDatabase ( ) : string
Get the name of the database connection to use.
protected
getArguments ( ) : array
Get the console command arguments.
protected
getOptions ( ) : array
Get the console command options.