CliOutput
Class CliOutput
abstract deprecated
since |
1.0 |
---|---|
deprecated |
2.0 Use the |
Methods
__construct
Constructor
__construct(\Joomla\Application\Cli\Output\Processor\ProcessorInterface $processor = null)
since |
1.1.2 |
---|
Arguments
- $processor
\Joomla\Application\Cli\Output\Processor\ProcessorInterface
The output processor.
getProcessor
Get a processor
getProcessor() : \Joomla\Application\Cli\Output\Processor\ProcessorInterface
since |
1.0 |
---|---|
throws |
|
Response
out
Write a string to an output handler.
out(string $text = '', boolean $nl = true) : void
abstract
since |
1.0 |
---|
Arguments
- $text
string
The text to display.- $nl
boolean
True (default) to append a new line at the end of the output string.
setProcessor
Set a processor
setProcessor(\Joomla\Application\Cli\Output\Processor\ProcessorInterface $processor) : \Joomla\Application\Cli\Stdout
since |
1.0 |
---|
Arguments
- $processor
\Joomla\Application\Cli\Output\Processor\ProcessorInterface
The output processor.
Response
\Joomla\Application\Cli\Stdout
Instance of $this to allow chaining.
Properties
processor
Color processing object