Fast Forward Deferred Callbacks utility classes

ErrorReporterInterface

This interface MUST be implemented by any class that reports exceptions from deferred callbacks.

Implementations SHALL provide a report() method that handles the throwable, callback, and arguments.

Table of Contents

Methods

report()  : void
Reports an exception from a deferred callback.

Methods

report()

Reports an exception from a deferred callback.

public report(Throwable $throwable[, callable|null $callback = null ][, array<string|int, mixed> $arguments = [] ]) : void

This method MUST handle the throwable and MAY use the callback and arguments for context.

Parameters
$throwable : Throwable

the exception to report

$callback : callable|null = null

the related callback, if available

$arguments : array<string|int, mixed> = []

arguments passed to the callback, if any


        
On this page

Search results