ConsoleKit\TextWriter::write PHP Method

write() public method

Outputs text
public write ( $test, $pipe = TextWriter::STDOUT )
    function write($test, $pipe = TextWriter::STDOUT);

Usage Example

Example #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;
 }