PHP Класс tad\WPBrowser\Console\Output\OutputDecorator

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$output The decorated output.

Открытые методы

Метод Описание
__construct ( Symfony\Component\Console\Output\OutputInterface $output ) OutputDecorator constructor.
getFormatter ( ) : Symfony\Component\Console\Formatter\OutputFormatterInterface Returns current output formatter instance.
getVerbosity ( ) : integer Gets the current verbosity of the output.
isDecorated ( ) : boolean Gets the decorated flag.
setDecorated ( boolean $decorated ) Sets the decorated flag.
setFormatter ( Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter ) Sets output formatter.
setVerbosity ( integer $level ) Sets the verbosity of the output.

Описание методов

__construct() публичный Метод

OutputDecorator constructor.
public __construct ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

getFormatter() публичный Метод

Returns current output formatter instance.
public getFormatter ( ) : Symfony\Component\Console\Formatter\OutputFormatterInterface
Результат Symfony\Component\Console\Formatter\OutputFormatterInterface

getVerbosity() публичный Метод

Gets the current verbosity of the output.
public getVerbosity ( ) : integer
Результат integer The current level of verbosity (one of the VERBOSITY constants)

isDecorated() публичный Метод

Gets the decorated flag.
public isDecorated ( ) : boolean
Результат boolean true if the output will decorate messages, false otherwise

setDecorated() публичный Метод

Sets the decorated flag.
public setDecorated ( boolean $decorated )
$decorated boolean Whether to decorate the messages

setFormatter() публичный Метод

Sets output formatter.
public setFormatter ( Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter )
$formatter Symfony\Component\Console\Formatter\OutputFormatterInterface

setVerbosity() публичный Метод

Sets the verbosity of the output.
public setVerbosity ( integer $level )
$level integer The level of verbosity (one of the VERBOSITY constants)

Описание свойств

$output защищенное свойство

The decorated output.
protected $output