コード例 #1
0
ファイル: Dumper.php プロジェクト: sfie/pimcore
 /**
  * @param CliDumper $cliDumper
  */
 public function setCliDumper(CliDumper $cliDumper = null)
 {
     if (null === $cliDumper) {
         $this->cliDumper = new CliDumper();
     }
     $this->cliDumper->setOutput($this->output->getStream());
 }
コード例 #2
0
ファイル: HtmlDumper.php プロジェクト: hilmysyarif/phpv8
 /**
  * {@inheritdoc}
  */
 public function setOutput($output)
 {
     if ($output !== ($prev = parent::setOutput($output))) {
         $this->headerIsDumped = false;
     }
     return $prev;
 }