/**
  * Render an exception to the console.
  *
  * @param  \Symfony\Component\Console\Output\OutputInterface $output
  * @param  \Exception $e
  * @return void
  */
 public function renderForConsole($output, Exception $e)
 {
     $this->laravelExceptionHandler->renderForConsole($output, $e);
 }
Esempio n. 2
0
 /**
  * Render an exception to the console.
  *
  * @param \Symfony\Component\Console\Output\OutputInterface $output
  * @param \Exception                                        $exception
  *
  * @return mixed
  */
 public function renderForConsole($output, Exception $exception)
 {
     return $this->parentHandler->renderForConsole($output, $exception);
 }
Esempio n. 3
0
 /**
  * Render an exception to the console.
  *
  * @param \Symfony\Component\Console\Output\OutputInterface $output
  * @param \Exception                                        $e
  */
 public function renderForConsole($output, Exception $e)
 {
     if (is_null($this->exceptionHandler) === false) {
         $this->exceptionHandler->renderForConsole($output, $e);
     }
 }