CliOutput
class CliOutput extends AbstractCliOutput implements ColorfulOutputInterface (View source)
Simple Cli Output
Methods
setErrorStream(resource $errorStream)
Method to set property errorStream
from AbstractCliOutput
out(string $text = '', boolean $nl = true)
Write a string to standard output
$this
err(string $text = '', boolean $nl = true)
Write a string to standard error output.
getProcessor()
Get a processor
Details
in AbstractCliOutput at line line 37
resource
getOutputStream()
getOutStream
in AbstractCliOutput at line line 49
AbstractCliOutput
setOutputStream(resource $outStream)
setOutStream
in AbstractCliOutput at line line 61
resource
getErrorStream()
Method to get property ErrorStream
in AbstractCliOutput at line line 73
AbstractCliOutput
setErrorStream(resource $errorStream)
Method to set property errorStream
at line line 36
__construct(ColorProcessorInterface $processor = null)
Constructor
at line line 49
CliOutputInterface
out(string $text = '', boolean $nl = true)
Write a string to standard output
at line line 65
$this
err(string $text = '', boolean $nl = true)
Write a string to standard error output.
at line line 81
CliOutput
setProcessor(ColorProcessorInterface $processor)
Set a processor
at line line 96
ColorProcessorInterface
getProcessor()
Get a processor