PHP Class Webmozart\Console\Adapter\IOOutput

Since: 1.0
Author: Bernhard Schussek ([email protected])
Inheritance: implements Symfony\Component\Console\Output\OutputInterface
Show file Open project: webmozart/console Class Usage Examples

Public Methods

Method Description
__construct ( IO $io ) Creates a new composite output.
getFormatter ( )
getIO ( ) : IO Returns the standard output.
getVerbosity ( )
isDebug ( )
isDecorated ( )
isQuiet ( )
isVerbose ( )
isVeryVerbose ( )
setDecorated ( $decorated )
setFormatter ( Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter )
setVerbosity ( $level )
write ( $messages, $newline = false, $type = self::OUTPUT_NORMAL )
writeln ( $messages, $type = self::OUTPUT_NORMAL )

Private Methods

Method Description
doWrite ( $message, $type )
doWriteLine ( $message, $type )

Method Details

__construct() public method

Creates a new composite output.
public __construct ( IO $io )
$io Webmozart\Console\Api\IO\IO The I/O.

getFormatter() public method

public getFormatter ( )

getIO() public method

Returns the standard output.
public getIO ( ) : IO
return Webmozart\Console\Api\IO\IO The standard output.

getVerbosity() public method

public getVerbosity ( )

isDebug() public method

public isDebug ( )

isDecorated() public method

public isDecorated ( )

isQuiet() public method

public isQuiet ( )

isVerbose() public method

public isVerbose ( )

isVeryVerbose() public method

public isVeryVerbose ( )

setDecorated() public method

public setDecorated ( $decorated )

setFormatter() public method

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

setVerbosity() public method

public setVerbosity ( $level )

write() public method

public write ( $messages, $newline = false, $type = self::OUTPUT_NORMAL )

writeln() public method

public writeln ( $messages, $type = self::OUTPUT_NORMAL )