Copied!

Text descriptor.

CloneableInstantiable
Methods
public Symfony\Component\Console\Descriptor\Descriptor::describe(Symfony\Component\Console\Output\OutputInterface $output, object $object, array $options = []) : void
Properties
protected Symfony\Component\Console\Output\OutputInterface Symfony\Component\Console\Descriptor\Descriptor::$output
Methods
protected describeApplication(Symfony\Component\Console\Application $application, array $options = []) : void
protected describeCommand(Symfony\Component\Console\Command\Command $command, array $options = []) : void
protected describeInputArgument(Symfony\Component\Console\Input\InputArgument $argument, array $options = []) : void
protected describeInputDefinition(Symfony\Component\Console\Input\InputDefinition $definition, array $options = []) : void
protected describeInputOption(Symfony\Component\Console\Input\InputOption $option, array $options = []) : void
protected Symfony\Component\Console\Descriptor\Descriptor::write(string $content, bool $decorated = false) : void
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 = []) : void
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration