[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/symfony/console/Formatter/ -> OutputFormatter.php (summary)

(no description)

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

Defines 1 class

OutputFormatter:: (14 methods):
  __clone()
  escape()
  escapeTrailingBackslash()
  __construct()
  setDecorated()
  isDecorated()
  setStyle()
  hasStyle()
  getStyle()
  format()
  formatAndWrap()
  getStyleStack()
  createStyleFromString()
  applyCurrentStyle()


Class: OutputFormatter  - X-Ref

Formatter class for console output.

__clone()   X-Ref
No description

escape(string $text)   X-Ref
Escapes "<" and ">" special chars in given text.

return: string

escapeTrailingBackslash(string $text)   X-Ref
Escapes trailing "\" in given text.


__construct(bool $decorated = false, array $styles = [])   X-Ref
Initializes console output formatter.

param: OutputFormatterStyleInterface[] $styles Array of "name => FormatterStyle" instances

setDecorated(bool $decorated)   X-Ref
{@inheritdoc}


isDecorated()   X-Ref
{@inheritdoc}


setStyle(string $name, OutputFormatterStyleInterface $style)   X-Ref
{@inheritdoc}


hasStyle(string $name)   X-Ref
{@inheritdoc}


getStyle(string $name)   X-Ref
{@inheritdoc}


format(?string $message)   X-Ref
{@inheritdoc}


formatAndWrap(?string $message, int $width)   X-Ref
{@inheritdoc}


getStyleStack()   X-Ref

return: OutputFormatterStyleStack

createStyleFromString(string $string)   X-Ref
Tries to create new style instance from string.


applyCurrentStyle(string $text, string $current, int $width, int &$currentLineLength)   X-Ref
Applies current style from stack to text, if must be applied.




Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer