Exemplo n.º 1
0
 /**
  * Formats the given text to fit into MAXIMUM_LINE_LENGTH and outputs it to the
  * console window
  *
  * @param string $text Text to output
  * @param array $arguments Optional arguments to use for sprintf
  * @param int $leftPadding The number of spaces to use for indentation
  * @return void
  * @see outputLine()
  */
 protected function outputFormatted($text = '', array $arguments = [], $leftPadding = 0)
 {
     $this->output->outputFormatted($text, $arguments, $leftPadding);
 }
Exemplo n.º 2
0
 public function error($message, array $arguments = array())
 {
     $this->writer->output("ERROR: {$message}", $arguments);
     exit(127);
 }