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

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

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

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

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

Метод Описание
__construct ( ) Create a new command instance.
fire ( ) : mixed Execute the console command.

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

Метод Описание
getArguments ( ) : array Get the console command arguments.
getOptions ( ) : array Get the console command options.
install ( string $name, string $version = 'dev-master', string $type = 'composer', boolean $tree = false ) Install the specified module.
installFromFile ( ) Install modules from modules.json file.

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

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

Create a new command instance.
public __construct ( )

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

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

Install the specified module.
protected install ( string $name, string $version = 'dev-master', string $type = 'composer', boolean $tree = false )
$name string
$version string
$type string
$tree boolean

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

Install modules from modules.json file.
protected installFromFile ( )

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

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

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

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

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