public function handle(Exception $exception) { if ($this->debug && class_exists('Whoops\\Run')) { return $this->handleWithWhoops($exception); } return $this->handleWithSymfony($exception); }