Back to CliApplication class

Method setOutput

public $this
setOutput
(\Joomla\CMS\Application\CLI\CliOutput $output)
Set an output object.
Parameters
  • \Joomla\CMS\Application\CLI\CliOutput $output CliOutput object
Returns
  • $this
Since
  • 3.3

Method setOutput - Source code

/**
 * Set an output object.
 *
 * @param   CliOutput  $output  CliOutput object
 *
 * @return  $this
 *
 * @since   3.3
 */
public function setOutput(CliOutput $output)
{
    $this->output = $output;
    return $this;
}