lithium\console\Command::out()

public method

Writes a string to the output stream.

Parameters

  • string|array $output

    The string or an array of strings to write.

  • mixed $options

    When passed an integer or boolean it is used as the number of of new lines, when passed a string it is interpreted as style to use otherwise when an array following options are available:

    • 'nl' integer|boolean: number of new lines to add at the end. false to disable adding a newline.
    • 'style' string: the style name to wrap around the output.

Returns

integer

Source

	public function out($output = null, $options = array('nl' => 1)) {
		if ($this->silent) {
			return;
		}
		return $this->_response('output', $output, $options);
	}