コード例 #1
0
ファイル: Ansi.php プロジェクト: bramus/ansi-php
 /**
  * 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;
 }
コード例 #2
0
ファイル: Log.php プロジェクト: shabbirvividads/magento2
 /**
  * Write entries
  *
  * @return void
  */
 public function report()
 {
     $this->_successWriter->write($this->_successEntries);
     $this->_errorWriter->write($this->_errorEntries);
 }