Methods |
public
|
getFormatter(): ConsoleFormatterInterface
Get output formatter
|
#
|
public
|
getWidth(): ?int
Get output width in columns after subtracting any margin widths
Get output width in columns after subtracting any margin widths
Implemented by
|
#
|
public
|
getBold(): string
Get string to insert before and after bold text
Get string to insert before and after bold text
Implemented by
|
#
|
public
|
getItalic(): string
Get string to insert before and after italic text
Get string to insert before and after italic text
Implemented by
|
#
|
public
|
getEscape(): string
Get escape character
|
#
|
public
|
getSynopsisPrefix(): string
Get string to insert before synopsis
Get string to insert before synopsis
Implemented by
|
#
|
public
|
getSynopsisNewline(): string
Get string to insert between wrapped synopsis lines
Get string to insert between wrapped synopsis lines
Implemented by
|
#
|
public
|
getSynopsisSoftNewline(): string
Get string to insert between long synopsis lines after wrapping, or an
empty string to disable synopsis soft-wrapping
Get string to insert between long synopsis lines after wrapping, or an
empty string to disable synopsis soft-wrapping
Implemented by
|
#
|
public
|
getCollapseSynopsis(): bool
Check whether to collapse non-mandatory options to "[options]" when a
wrapped synopsis breaks over multiple lines
Check whether to collapse non-mandatory options to "[options]" when a
wrapped synopsis breaks over multiple lines
Implemented by
|
#
|
public
|
withCollapseSynopsis(bool $value = true): static
Get an instance where non-mandatory options are collapsed to "[options]"
when a wrapped synopsis breaks over multiple…
Get an instance where non-mandatory options are collapsed to "[options]"
when a wrapped synopsis breaks over multiple lines
Implemented by
|
#
|
public
|
getOptionIndent(): string
Get string to insert before each option line
Get string to insert before each option line
Implemented by
|
#
|
public
|
getOptionPrefix(): string
Get string to insert before each option
Get string to insert before each option
Implemented by
|
#
|
public
|
getOptionDescriptionPrefix(): string
Get string to insert before each option description
Get string to insert before each option description
Implemented by
|
#
|
public
|
getVisibility(): CliOptionVisibility::*
Get option visibility flag to require
Get option visibility flag to require
Implemented by
|
#
|
public
|
prepareHelp(string $text, string $indent = ''): string
Reflow and optionally indent help message text
Reflow and optionally indent help message text
Implemented by
|
#
|
public
|
buildHelp(array<CliHelpSectionName::*|string, string> $sections): string
Combine help message sections into one help message
Combine help message sections into one help message
Implemented by
|
#
|
public
|
maybeEscapeTags(string $string): string
Escape special characters in a string
Escape special characters in a string
Implemented by
|
#
|