PHP Class Caffeinated\Modules\Console\Commands\ModuleMigrateRefreshCommand

Inheritance: extends Illuminate\Console\Command, use trait Illuminate\Console\ConfirmableTrait
Datei anzeigen Open project: caffeinated/modules

Protected Properties

Property Type Description
$description string The console command description.
$name string The console command name.

Public Methods

Method Description
fire ( ) : mixed Execute the console command.

Protected Methods

Method Description
getArguments ( ) : array Get the console command arguments.
getOptions ( ) : array Get the console command options.
needsSeeding ( ) : boolean Determine if the developer has requested database seeding.
runSeeder ( $slug = null, string $database = null ) Run the module seeder command.

Method Details

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

needsSeeding() protected method

Determine if the developer has requested database seeding.
protected needsSeeding ( ) : boolean
return boolean

runSeeder() protected method

Run the module seeder command.
protected runSeeder ( $slug = null, string $database = null )
$database string

Property Details

$description protected_oe property

The console command description.
protected string $description
return string

$name protected_oe property

The console command name.
protected string $name
return string