protected function renderExceptionWithSymfony(Exception $e, $debug)
    {
        return (new SymfonyExceptionHandler($debug))->getHtml(
            FlattenException::create($e)
        );
    }
protected function renderExceptionWithSymfony(Exception $e, $debug)
    {
        return (new SymfonyExceptionHandler($debug))->getHtml(
            FlattenException::create($e)
        );
    }
protected function renderExceptionWithSymfony ( Exception $ e , $ debug ) { return ( new SymfonyExceptionHandler ( $ debug ) ) -> getHtml ( FlattenException :: create ( $ e ) ) ; }
Render an exception to a string using Symfony.

@param  \Exception  $e
@param  bool  $debug
@return string
Render an exception to a string using Symfony .