[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/vendor/symfony/console/Symfony/Component/Console/Formatter/ -> OutputFormatterStyle.php (summary)

(no description)

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

Defines 1 class

OutputFormatterStyle:: (7 methods):
  __construct()
  setForeground()
  setBackground()
  setOption()
  unsetOption()
  setOptions()
  apply()


Class: OutputFormatterStyle  - X-Ref

Formatter style class for defining styles.

__construct($foreground = null, $background = null, array $options = array()   X-Ref
Initializes output formatter style.

param: string|null $foreground The style foreground color name
param: string|null $background The style background color name
param: array       $options    The style options

setForeground($color = null)   X-Ref
Sets style foreground color.

param: string|null $color The color name

setBackground($color = null)   X-Ref
Sets style background color.

param: string|null $color The color name

setOption($option)   X-Ref
Sets some specific style option.

param: string $option The option name

unsetOption($option)   X-Ref
Unsets some specific style option.

param: string $option The option name

setOptions(array $options)   X-Ref
Sets multiple style options at once.

param: array $options

apply($text)   X-Ref
Applies the style to a given text.

param: string $text The text to style
return: string



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1