Copied!

Text descriptor.

Cloneable Instantiable
Methods
public Symfony\Component\Console\Descriptor\Descriptor :: describe ( Symfony\Component\Console\Output\OutputInterface $output , object $object , array $options = [ ] )
 
Properties
protected Symfony\Component\Console\Descriptor\Descriptor :: $output
 
  • var OutputInterface
Methods
protected describeApplication ( Symfony\Component\Console\Application $application , array $options = [ ] )
 

Describes an Application instance.

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

Describes a Command instance.

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

Describes an InputArgument instance.

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

Describes an InputDefinition instance.

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

Describes an InputOption instance.

protected Symfony\Component\Console\Descriptor\Descriptor :: write ( string $content , bool $decorated = false )
 

Writes content to output.

Methods
private calculateTotalWidthForOptions ( array $options ) : int
 
  • param InputOption [] $options
private formatDefaultValue ( ? mixed $default ) : string
 

Formats input option/argument default value.

private getColumnWidth ( array $commands ) : int
 
  • param (\Command | string) [] $commands
private getCommandAliasesText ( Symfony\Component\Console\Command\Command $command ) : string
 

Formats command aliases to show them in the command description.

private writeText ( string $content , array $options = [ ] )
 
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration