/** * Outputs specified text to the console window * You can specify arguments that will be passed to the text via sprintf * * @see http://www.php.net/sprintf * @param string $text Text to output * @param array $arguments Optional arguments to use for sprintf * @return void */ protected function output($text, array $arguments = []) { $this->output->output($text, $arguments); }
public function error($message, array $arguments = array()) { $this->writer->output("ERROR: {$message}", $arguments); exit(127); }