/** * 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; }
/** * Write entries * * @return void */ public function report() { $this->_successWriter->write($this->_successEntries); $this->_errorWriter->write($this->_errorEntries); }