PHP Class Nwidart\Modules\Commands\MigrateCommand

Inheritance: extends Illuminate\Console\Command
Afficher le fichier Open project: nwidart/laravel-modules

Protected Properties

Свойство Type Description
$description string The console command description.
$module Nwidart\Modules\Repository
$name string The console command name.

Méthodes publiques

Méthode Description
fire ( ) : mixed Execute the console command.

Méthodes protégées

Méthode 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 méthode

Execute the console command.
public fire ( ) : mixed
Résultat mixed

getArguments() protected méthode

Get the console command arguments.
protected getArguments ( ) : array
Résultat array

getOptions() protected méthode

Get the console command options.
protected getOptions ( ) : array
Résultat array

migrate() protected méthode

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

Property Details

$description protected_oe property

The console command description.
protected string $description
Résultat string

$module protected_oe property

protected Repository,Nwidart\Modules $module
Résultat Nwidart\Modules\Repository

$name protected_oe property

The console command name.
protected string $name
Résultat string