Xml

Extends \Joomla\Application\Cli\CliOutput

Class Xml.

deprecated
since

1.0

deprecated

2.0 Use the joomla/console package instead

Methods

__construct

Constructor

__construct(\Joomla\Application\Cli\Output\Processor\ProcessorInterface $processor = null) 
inherited
since

1.1.2

Arguments

$processor

\Joomla\Application\Cli\Output\Processor\ProcessorInterfaceThe output processor.

getProcessor

Get a processor

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

1.0

throws

\RuntimeException

Response

\Joomla\Application\Cli\Output\Processor\ProcessorInterface

out

Write a string to an output handler.

out(string $text = '', boolean $nl = true) : void
inherited abstract
since

1.0

Arguments

$text

stringThe text to display.

$nl

booleanTrue (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
inherited
since

1.0

Arguments

$processor

\Joomla\Application\Cli\Output\Processor\ProcessorInterfaceThe output processor.

Response

\Joomla\Application\Cli\StdoutInstance of $this to allow chaining.

Properties

processor

Color processing object

inherited