Stdout

Extends CliOutput

Output handler for writing command line output to the stdout interface

deprecated
since

4.0.0

deprecated

4.3 will be removed in 6.0 Use the joomla/console package instead

package

Joomla CMS

Methods

__construct

Constructor

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

4.0.0

Arguments

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

ProcessorInterface

out

Write a string to standard output

out( text = '',  nl = true) : 
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) : 
inherited
since

4.0.0

Arguments

processor

ProcessorInterfaceThe output processor.

Response

$this

Properties

processor

Output processing object

inherited
since

4.0.0

Type(s)

ProcessorInterface