コード例 #1
0
ファイル: RuntimeCallHandler.php プロジェクト: aaa2000/Behat
 /**
  * Starts error handler and stdout buffering.
  *
  * @param Call $call
  */
 private function startErrorAndOutputBuffering(Call $call)
 {
     $errorReporting = $call->getErrorReportingLevel() ?: $this->errorReportingLevel;
     set_error_handler(array($this, 'handleError'), $errorReporting);
     $this->obStarted = ob_start();
 }