[ Index ]

PHP Cross Reference of phpBB-3.3.7-deutsch

title

Body

[close]

/vendor/symfony/console/Descriptor/ -> TextDescriptor.php (summary)

(no description)

File Size: 342 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

TextDescriptor:: (10 methods):
  describeInputArgument()
  describeInputOption()
  describeInputDefinition()
  describeCommand()
  describeApplication()
  writeText()
  getCommandAliasesText()
  formatDefaultValue()
  getColumnWidth()
  calculateTotalWidthForOptions()


Class: TextDescriptor  - X-Ref

Text descriptor.

describeInputArgument(InputArgument $argument, array $options = [])   X-Ref
{@inheritdoc}


describeInputOption(InputOption $option, array $options = [])   X-Ref
{@inheritdoc}


describeInputDefinition(InputDefinition $definition, array $options = [])   X-Ref
{@inheritdoc}


describeCommand(Command $command, array $options = [])   X-Ref
{@inheritdoc}


describeApplication(Application $application, array $options = [])   X-Ref
{@inheritdoc}


writeText($content, array $options = [])   X-Ref
{@inheritdoc}


getCommandAliasesText(Command $command)   X-Ref
Formats command aliases to show them in the command description.

return: string

formatDefaultValue($default)   X-Ref
Formats input option/argument default value.

param: mixed $default
return: string

getColumnWidth(array $commands)   X-Ref

param: (Command|string)[] $commands
return: int

calculateTotalWidthForOptions(array $options)   X-Ref

param: InputOption[] $options
return: int



Generated: Thu Mar 24 21:31:15 2022 Cross-referenced by PHPXref 0.7.1