Метод | Описание | |
---|---|---|
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 ) |
public descriptions ( string $description, array $argumentAndOptionDescriptions = [] ) | ||
$description | string | Description of the command. |
$argumentAndOptionDescriptions | array | Descriptions of the arguments and options. |