class ReportableHandler (View source)
ReflectsClosures |
protected callable | $callback | The underlying callback. | |
protected bool | $shouldStop | Indicates if reporting should stop after invoking this handler. |
array | closureParameterTypes(Closure $closure) Get the class names / types of the parameters of the given Closure. | from ReflectsClosures |
string | firstClosureParameterType(Closure $closure) Get the class name of the first parameter of the given Closure. | from ReflectsClosures |
void | __construct(callable $callback) Create a new reportable handler instance. | |
bool | __invoke(Throwable $e) Invoke the handler. | |
bool | handles(Throwable $e) Determine if the callback handles the given exception. | |
$this | stop() Indicate that report handling should stop after invoking this callback. |
Get the class names / types of the parameters of the given Closure.
Get the class name of the first parameter of the given Closure.
Create a new reportable handler instance.
Invoke the handler.
Determine if the callback handles the given exception.
Indicate that report handling should stop after invoking this callback.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Foundation/Exceptions/ReportableHandler.html