PHP Class Nwidart\Modules\Commands\MigrationCommand

Inheritance: extends GeneratorCommand, use trait Nwidart\Modules\Traits\ModuleCommandTrait
Afficher le fichier Open project: nwidart/laravel-modules

Protected Properties

Свойство Type Description
$description string The console command description.
$name string The console command name.

Méthodes publiques

Méthode Description
fire ( ) Run the command.
getClass ( )
getSchemaParser ( ) : SchemaParser Get schema parser.

Méthodes protégées

Méthode Description
getArguments ( ) : array Get the console command arguments.
getDestinationFilePath ( ) : mixed
getOptions ( ) : array Get the console command options.
getTemplateContents ( ) : mixed

Private Methods

Méthode Description
getClassName ( ) : string
getFileName ( ) : string
getSchemaName ( ) : array | string

Method Details

fire() public méthode

Run the command.
public fire ( )

getArguments() protected méthode

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

getClass() public méthode

public getClass ( )

getDestinationFilePath() protected méthode

protected getDestinationFilePath ( ) : mixed
Résultat mixed

getOptions() protected méthode

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

getSchemaParser() public méthode

Get schema parser.
public getSchemaParser ( ) : SchemaParser
Résultat Nwidart\Modules\Support\Migrations\SchemaParser

getTemplateContents() protected méthode

protected getTemplateContents ( ) : mixed
Résultat mixed

Property Details

$description protected_oe property

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

$name protected_oe property

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