write() public method

Outputs text
public write ( $test, $pipe = TextWriter::STDOUT )
Esempio n. 1
0
 /**
  * Writes some text to the text writer
  * 
  * @see TextWriter::write()
  * @param string $text
  * @param array $formatOptions
  * @return Console
  */
 public function write($text, $pipe = TextWriter::STDOUT)
 {
     $this->textWriter->write($text, $pipe);
     return $this;
 }