PHP Class tad\WPBrowser\Console\Output\OutputDecorator

Afficher le fichier Open project: lucatume/wp-browser

Protected Properties

Свойство Type Description
$output The decorated output.

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

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

getFormatter() public méthode

Returns current output formatter instance.
public getFormatter ( ) : Symfony\Component\Console\Formatter\OutputFormatterInterface
Résultat Symfony\Component\Console\Formatter\OutputFormatterInterface

getVerbosity() public méthode

Gets the current verbosity of the output.
public getVerbosity ( ) : integer
Résultat integer The current level of verbosity (one of the VERBOSITY constants)

isDecorated() public méthode

Gets the decorated flag.
public isDecorated ( ) : boolean
Résultat boolean true if the output will decorate messages, false otherwise

setDecorated() public méthode

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

setFormatter() public méthode

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

setVerbosity() public méthode

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

Property Details

$output protected_oe property

The decorated output.
protected $output