PHP Class Nwidart\Modules\Commands\MigrateCommand

Inheritance: extends Illuminate\Console\Command
Mostrar archivo Open project: nwidart/laravel-modules

Protected Properties

Property Type Description
$description string The console command description.
$module Nwidart\Modules\Repository
$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.
migrate ( Module $module ) : mixed Run the migration from the specified module.

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

migrate() protected method

Run the migration from the specified module.
protected migrate ( Module $module ) : mixed
$module Nwidart\Modules\Module
return mixed

Property Details

$description protected_oe property

The console command description.
protected string $description
return string

$module protected_oe property

protected Repository,Nwidart\Modules $module
return Nwidart\Modules\Repository

$name protected_oe property

The console command name.
protected string $name
return string