PHP Class Nwidart\Modules\Commands\MigrationCommand

Inheritance: extends GeneratorCommand, use trait Nwidart\Modules\Traits\ModuleCommandTrait
Mostra file Open project: nwidart/laravel-modules

Protected Properties

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

Public Methods

Method Description
fire ( ) Run the command.
getClass ( )
getSchemaParser ( ) : SchemaParser Get schema parser.

Protected Methods

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

Private Methods

Method Description
getClassName ( ) : string
getFileName ( ) : string
getSchemaName ( ) : array | string

Method Details

fire() public method

Run the command.
public fire ( )

getArguments() protected method

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

getClass() public method

public getClass ( )

getDestinationFilePath() protected method

protected getDestinationFilePath ( ) : mixed
return mixed

getOptions() protected method

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

getSchemaParser() public method

Get schema parser.
public getSchemaParser ( ) : SchemaParser
return Nwidart\Modules\Support\Migrations\SchemaParser

getTemplateContents() protected method

protected getTemplateContents ( ) : mixed
return mixed

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