PHP Класс Silly\Command\Command

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

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

Метод Описание
defaults ( array $defaults = [] ) Define default values for the arguments of the command.
descriptions ( string $description, array $argumentAndOptionDescriptions = [] ) Define descriptions for the command and it's arguments/options.

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

Метод Описание
setArgumentDescription ( Symfony\Component\Console\Input\InputDefinition $definition, $name, $description )
setOptionDescription ( Symfony\Component\Console\Input\InputDefinition $definition, $name, $description )

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

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

Define default values for the arguments of the command.
public defaults ( array $defaults = [] )
$defaults array Default argument values.

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

Define descriptions for the command and it's arguments/options.
public descriptions ( string $description, array $argumentAndOptionDescriptions = [] )
$description string Description of the command.
$argumentAndOptionDescriptions array Descriptions of the arguments and options.