PHP Класс Symfony\Component\Console\Descriptor\TextDescriptor

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

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

Метод Описание
describeApplication ( Application $application, array $options = [] )
describeCommand ( Command $command, array $options = [] )
describeInputArgument ( Symfony\Component\Console\Input\InputArgument $argument, array $options = [] )
describeInputDefinition ( Symfony\Component\Console\Input\InputDefinition $definition, array $options = [] )
describeInputOption ( Symfony\Component\Console\Input\InputOption $option, array $options = [] )

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

Метод Описание
calculateTotalWidthForOptions ( Symfony\Component\Console\Input\InputOption[] $options ) : integer
formatDefaultValue ( mixed $default ) : string Formats input option/argument default value.
getColumnWidth ( array $commands ) : integer
getCommandAliasesText ( Command $command ) : string Formats command aliases to show them in the command description.
writeText ( $content, array $options = [] )

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

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

protected describeApplication ( Application $application, array $options = [] )
$application Symfony\Component\Console\Application
$options array

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

protected describeCommand ( Command $command, array $options = [] )
$command Symfony\Component\Console\Command\Command
$options array

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

protected describeInputArgument ( Symfony\Component\Console\Input\InputArgument $argument, array $options = [] )
$argument Symfony\Component\Console\Input\InputArgument
$options array

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

protected describeInputDefinition ( Symfony\Component\Console\Input\InputDefinition $definition, array $options = [] )
$definition Symfony\Component\Console\Input\InputDefinition
$options array

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

protected describeInputOption ( Symfony\Component\Console\Input\InputOption $option, array $options = [] )
$option Symfony\Component\Console\Input\InputOption
$options array