Stdout

Extends CliOutput

Class Stdout.

deprecated
since

1.0

deprecated

2.0 Use the joomla/console package instead

package

Joomla Framework

Methods

__construct

Constructor

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

1.1.2

Arguments

processor

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

Response

mixed

getProcessor

Get a processor

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

1.0

Response

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

out

Write a string to an output handler.

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

1.0

Arguments

text

stringThe text to display.

nl

boolTrue (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
since

1.0

Type(s)

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