Esempio n. 1
0
 /**
  * Write a piece of text onto the writer
  * @param  string $text The text to write
  * @return Ansi   self, for chaining
  */
 public function text($text)
 {
     // Write the text to the writer
     $this->writer->write($text);
     // Afford chaining
     return $this;
 }
Esempio n. 2
0
 /**
  * Write entries
  *
  * @return void
  */
 public function report()
 {
     $this->_successWriter->write($this->_successEntries);
     $this->_errorWriter->write($this->_errorEntries);
 }