PHP Класс Nwidart\Modules\Commands\MigrationCommand

Наследование: extends GeneratorCommand, use trait Nwidart\Modules\Traits\ModuleCommandTrait
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$description string The console command description.
$name string The console command name.

Открытые методы

Метод Описание
fire ( ) Run the command.
getClass ( )
getSchemaParser ( ) : SchemaParser Get schema parser.

Защищенные методы

Метод Описание
getArguments ( ) : array Get the console command arguments.
getDestinationFilePath ( ) : mixed
getOptions ( ) : array Get the console command options.
getTemplateContents ( ) : mixed

Приватные методы

Метод Описание
getClassName ( ) : string
getFileName ( ) : string
getSchemaName ( ) : array | string

Описание методов

fire() публичный метод

Run the command.
public fire ( )

getArguments() защищенный метод

Get the console command arguments.
protected getArguments ( ) : array
Результат array

getClass() публичный метод

public getClass ( )

getDestinationFilePath() защищенный метод

protected getDestinationFilePath ( ) : mixed
Результат mixed

getOptions() защищенный метод

Get the console command options.
protected getOptions ( ) : array
Результат array

getSchemaParser() публичный метод

Get schema parser.
public getSchemaParser ( ) : SchemaParser
Результат Nwidart\Modules\Support\Migrations\SchemaParser

getTemplateContents() защищенный метод

protected getTemplateContents ( ) : mixed
Результат mixed

Описание свойств

$description защищенное свойство

The console command description.
protected string $description
Результат string

$name защищенное свойство

The console command name.
protected string $name
Результат string