class Illuminate / Foundation / Exceptions / ReportableHandler
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

ReportableHandler

Uses

Properties

protected

$callback callable

The underlying callback.

Default: null
protected

$shouldStop bool

Indicates if reporting should stop after invoking this handler.

Default: false

Methods

public

__construct ( callable $callback ) : void

Create a new reportable handler instance.

Parameters

  • $callback callable
public

__invoke ( Throwable $e ) : bool

Invoke the handler.

Parameters

public

handles ( Throwable $e ) : bool

Determine if the callback handles the given exception.

Parameters

public

stop ( ) : $this

Indicate that report handling should stop after invoking this callback.