PHP Class Symfony\Component\Console\Descriptor\TextDescriptor

Inheritance: extends Symfony\Component\Console\Descriptor\Descriptor
Mostrar archivo Open project: symfony/symfony Class Usage Examples

Protected Methods

Method Description
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 = [] )

Private Methods

Method Description
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 = [] )

Method Details

describeApplication() protected method

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

describeCommand() protected method

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

describeInputArgument() protected method

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

describeInputDefinition() protected method

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

describeInputOption() protected method

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