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

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

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

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

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

Метод Описание
fire ( ) : mixed Execute the console command.
rollback ( $module ) Rollback migration from the specified module.

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

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

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

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

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

Rollback migration from the specified module.
public rollback ( $module )
$module

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

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

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

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

protected Repository,Nwidart\Modules $module
Результат Nwidart\Modules\Repository

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

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