writeRaw() public method

Writes a string to the standard output without formatting.
public writeRaw ( string $string, integer $flags = null )
$string string The string to write.
$flags integer The flags. One of {@link VERBOSE}, {@link VERY_VERBOSE} and {@link DEBUG}.
Exemplo n.º 1
0
 private function doWrite($message, $type)
 {
     switch ($type) {
         case self::OUTPUT_PLAIN:
             $this->io->write($this->io->removeFormat($message));
             break;
         case self::OUTPUT_RAW:
             $this->io->writeRaw($message);
             break;
         default:
             $this->io->write($message);
             break;
     }
 }