PHP Class Caffeinated\Modules\Console\Commands\ModuleSeedCommand

Inheritance: extends Illuminate\Console\Command
ファイルを表示 Open project: caffeinated/modules

Protected Properties

Property Type Description
$description string The console command description.
$module Caffeinated\Modules\Modules
$name string The console command name.

Public Methods

Method Description
__construct ( Modules $module ) Create a new command instance.
fire ( ) : mixed Execute the console command.

Protected Methods

Method Description
getArguments ( ) : array Get the console command arguments.
getOptions ( ) : array Get the console command options.
seed ( $slug ) : array Seed the specific module.

Method Details

__construct() public method

Create a new command instance.
public __construct ( Modules $module )
$module Caffeinated\Modules\Modules

fire() public method

Execute the console command.
public fire ( ) : mixed
return mixed

getArguments() protected method

Get the console command arguments.
protected getArguments ( ) : array
return array

getOptions() protected method

Get the console command options.
protected getOptions ( ) : array
return array

seed() protected method

Seed the specific module.
protected seed ( $slug ) : array
return array

Property Details

$description protected_oe property

The console command description.
protected string $description
return string

$module protected_oe property

protected Modules,Caffeinated\Modules $module
return Caffeinated\Modules\Modules

$name protected_oe property

The console command name.
protected string $name
return string