コード例 #1
0
ファイル: CatchOutput.php プロジェクト: mjphaynes/php-resque
 /**
  * Writes a message to the output.
  *
  * @param string|array $messages The message as an array of lines or a single string
  * @param Boolean      $newline  Whether to add a newline
  * @param integer      $type     The type of output (one of the OUTPUT constants)
  *
  * @throws \InvalidArgumentException When unknown output type is given
  */
 public function write($messages, $newline = false, $type = self::OUTPUT_RAW)
 {
     parent::write($messages, $newline, $type);
 }