NullErrorReporter
in package
implements
ErrorReporterInterface
FinalYes
This error reporter implementation MUST ignore all reported exceptions.
It SHALL NOT perform any logging or throw exceptions under any circumstances. This class MAY be used as a default or placeholder reporter.
Table of Contents
Interfaces
- ErrorReporterInterface
- This interface MUST be implemented by any class that reports exceptions from deferred callbacks.
Methods
- report() : void
- Ignores any reported throwable.
Methods
report()
Ignores any reported throwable.
public
report(Throwable $throwable[, callable|null $callback = null ][, array<string|int, mixed> $args = [] ]) : void
This method MUST NOT perform any action and MUST NOT throw exceptions.
Parameters
- $throwable : Throwable
-
the exception or error to ignore
- $callback : callable|null = null
-
the related callback, if available
- $args : array<string|int, mixed> = []
-
arguments passed to the callback, if any