PHP Класс Encore\Admin\Commands\MakeCommand

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

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

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

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

Метод Описание
handle ( ) : void Execute the console command.

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

Метод Описание
getArguments ( ) : array Get the console command arguments.
getDefaultNamespace ( string $rootNamespace ) : string Get the default namespace for the class.
getOptions ( ) : array Get the console command options.
getStub ( ) : string Get the stub file for the generator.
modelExists ( ) : boolean Determine if the model is exists.
replaceClass ( string $stub, string $name ) : string Replace the class name for the given stub.

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

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

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

getDefaultNamespace() защищенный Метод

Get the default namespace for the class.
protected getDefaultNamespace ( string $rootNamespace ) : string
$rootNamespace string
Результат string

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

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

getStub() защищенный Метод

Get the stub file for the generator.
protected getStub ( ) : string
Результат string

handle() публичный Метод

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

modelExists() защищенный Метод

Determine if the model is exists.
protected modelExists ( ) : boolean
Результат boolean

replaceClass() защищенный Метод

Replace the class name for the given stub.
protected replaceClass ( string $stub, string $name ) : string
$stub string
$name string
Результат string

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

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

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

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

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