class
Illuminate
/
Database
/
Seeder
You are viewing an older version of the documentation. For the latest, please visit master documentation.
abstract
Seeder
Properties
Methods
public
call ( $class , $silent , array $parameters ) : $this
Run the given seeder class.
Parameters
- $class array|string
- $silent bool
- $parameters array
public
callWith ( $class , array $parameters ) : void
Run the given seeder class.
Parameters
- $class array|string
- $parameters array
public
callSilent ( $class , array $parameters ) : void
Silently run the given seeder class.
Parameters
- $class array|string
- $parameters array
protected
resolve ( $class ) : Seeder
Resolve an instance of the given seeder class.
Parameters
- $class string
public
setContainer ( Container $container ) : $this
Set the IoC container instance.
Parameters
- $container Container
public
setCommand ( Command $command ) : $this
Set the console command instance.
Parameters
- $command Command
public
__invoke ( array $parameters ) : mixed
Run the database seeds.
Parameters
- $parameters array