Xml

Extends CliOutput

Output handler for writing command line output to the stdout interface

deprecated
since

4.0.0

deprecated

5.0 Use the joomla/console package instead

package

Application

Methods

__construct

Constructor

__construct(\Joomla\CMS\Application\CLI\Output\Processor\ProcessorInterface processor = null) : mixed
inherited
since

4.0.0

Arguments

processor

\Joomla\CMS\Application\CLI\Output\Processor\ProcessorInterfaceThe output processor.

Response

mixed

getProcessor

Get a processor

getProcessor() : \Joomla\CMS\Application\CLI\Output\Processor\ProcessorInterface
inherited
since

4.0.0

throws

\RuntimeException

Response

\Joomla\CMS\Application\CLI\Output\Processor\ProcessorInterface

out

Write a string to an output handler.

out(string text = '', bool nl = true) : $this
inherited abstract
since

4.0.0

Arguments

text

stringThe text to display.

nl

boolTrue (default) to append a new line at the end of the output string.

Response

$this

setProcessor

Set a processor

setProcessor(\Joomla\CMS\Application\CLI\Output\Processor\ProcessorInterface processor) : $this
inherited
since

4.0.0

Arguments

processor

\Joomla\CMS\Application\CLI\Output\Processor\ProcessorInterfaceThe output processor.

Response

$this

Properties

processor

Output processing object

inherited
since

4.0.0

Type(s)

ProcessorInterface