Exemplo n.º 1
0
 /**
  * Retruns a generic error.
  *
  * @access  protected
  * @return  string
  */
 protected function getGenericError()
 {
     $this->output->errorLn('<bg_red><white>An error has occurred while processing your task.</white></bg_red>' . PHP_EOL);
 }
Exemplo n.º 2
0
 /**
  * Writes string to output using the error writer.
  *
  * @access  protected
  * @param   string     $string  String to write
  */
 protected function error($string)
 {
     $this->output->errorLn('<red>' . $string . '</red>');
 }