PHP Класс Mojopollo\Schema\Commands\MakeMigrationJsonCommand

Наследование: extends Illuminate\Console\Command
Показать файл Открыть проект

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

Свойство Тип Описание
$description string The console command description.
$filePath string The file path to the json file
$filePathDirectory string The directory of the file path to the json file
$filesystem Illuminate\Filesystem\Filesystem Filesystem instance
$makeMigrationJson Mojopollo\Schema\MakeMigrationJson MakeMigrationJson instance
$name string The console command name.
$startTime integer The timestamp when file generation started
$undoFilePath string The file path to the json undo file

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

Метод Описание
__construct ( MakeMigrationJson $makeMigrationJson, Illuminate\Filesystem\Filesystem $filesystem ) Create a new command instance.
fire ( ) : mixed Execute the console command.

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

Метод Описание
createUndoFile ( ) : void Creates the undo file
getArguments ( ) : array Get the console command arguments.
getOptions ( ) : array Get the console command options.
makeJsonMigration ( ) : void Make the json migration
undo ( ) : void Perform undo action
validate ( ) : void Validate the json file and console report any issues

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

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

Create a new command instance.
public __construct ( MakeMigrationJson $makeMigrationJson, Illuminate\Filesystem\Filesystem $filesystem )
$makeMigrationJson Mojopollo\Schema\MakeMigrationJson
$filesystem Illuminate\Filesystem\Filesystem

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

Creates the undo file
protected createUndoFile ( ) : void
Результат void

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

Execute the console command.
public fire ( ) : mixed
Результат mixed

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

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

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

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

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

Make the json migration
protected makeJsonMigration ( ) : void
Результат void

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

Perform undo action
protected undo ( ) : void
Результат void

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

Validate the json file and console report any issues
protected validate ( ) : void
Результат void

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

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

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

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

The file path to the json file
protected string $filePath
Результат string

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

The directory of the file path to the json file
protected string $filePathDirectory
Результат string

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

Filesystem instance
protected Filesystem,Illuminate\Filesystem $filesystem
Результат Illuminate\Filesystem\Filesystem

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

MakeMigrationJson instance
protected MakeMigrationJson,Mojopollo\Schema $makeMigrationJson
Результат Mojopollo\Schema\MakeMigrationJson

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

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

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

The timestamp when file generation started
protected int $startTime
Результат integer

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

The file path to the json undo file
protected string $undoFilePath
Результат string