PHP Class Recca0120\LaravelTracy\Exceptions\Handler

Inheritance: implements Illuminate\Contracts\Debug\ExceptionHandler
Show file Open project: recca0120/laravel-tracy

Protected Properties

Property Type Description
$blueScreen Recca0120\LaravelTracy\BlueScreen $blueScreen.
$exceptionHandler Illuminate\Contracts\Debug\ExceptionHandler app exception handler.

Public Methods

Method Description
__construct ( BlueScreen $blueScreen, Illuminate\Contracts\Debug\ExceptionHandler $exceptionHandler ) __construct.
__construct ( Illuminate\Contracts\Debug\ExceptionHandler $exceptionHandler, BlueScreen $blueScreen ) __construct.
render ( Illuminate\Http\Request $request, Exception $e ) : Response Render an exception into an HTTP response.
renderForConsole ( Symfony\Component\Console\Output\OutputInterface $output, Exception $e ) Render an exception to the console.
renderForConsole ( Symfony\Component\Console\Output\OutputInterface $output, Exception $e ) : void Render an exception to the console.
report ( Exception $e ) Report or log an exception.
report ( Exception $e ) : void Report or log an exception.

Method Details

__construct() public method

__construct.
public __construct ( BlueScreen $blueScreen, Illuminate\Contracts\Debug\ExceptionHandler $exceptionHandler )
$blueScreen Recca0120\LaravelTracy\BlueScreen
$exceptionHandler Illuminate\Contracts\Debug\ExceptionHandler

__construct() public method

__construct.
public __construct ( Illuminate\Contracts\Debug\ExceptionHandler $exceptionHandler, BlueScreen $blueScreen )
$exceptionHandler Illuminate\Contracts\Debug\ExceptionHandler
$blueScreen Recca0120\LaravelTracy\BlueScreen

render() public method

Render an exception into an HTTP response.
public render ( Illuminate\Http\Request $request, Exception $e ) : Response
$request Illuminate\Http\Request
$e Exception
return Symfony\Component\HttpFoundation\Response

renderForConsole() public method

Render an exception to the console.
public renderForConsole ( Symfony\Component\Console\Output\OutputInterface $output, Exception $e )
$output Symfony\Component\Console\Output\OutputInterface
$e Exception

renderForConsole() public method

Render an exception to the console.
public renderForConsole ( Symfony\Component\Console\Output\OutputInterface $output, Exception $e ) : void
$output Symfony\Component\Console\Output\OutputInterface
$e Exception
return void

report() public method

Report or log an exception.
public report ( Exception $e )
$e Exception

report() public method

Report or log an exception.
public report ( Exception $e ) : void
$e Exception
return void

Property Details

$blueScreen protected property

$blueScreen.
protected BlueScreen,Recca0120\LaravelTracy $blueScreen
return Recca0120\LaravelTracy\BlueScreen

$exceptionHandler protected property

app exception handler.
protected ExceptionHandler,Illuminate\Contracts\Debug $exceptionHandler
return Illuminate\Contracts\Debug\ExceptionHandler