IRegistry
in
used internally only
Tags
Table of Contents
Methods
- delegateBreadcrumb() : void
- Delegate breadcrumb collection to all registered reporters
- delegateMessage() : void
- Delegate a message to all reporters that implement IMessageReporter
- delegateReport() : mixed
- Delegate crash reporting to all registered reporters
- hasReporters() : bool
- Check if any reporter has been registered to delegate to
- register() : void
- Register a reporter instance
Methods
delegateBreadcrumb()
Delegate breadcrumb collection to all registered reporters
public
delegateBreadcrumb(string $message, string $category[, array<string|int, mixed> $context = [] ]) : void
used internally only
Parameters
- $message : string
- $category : string
- $context : array<string|int, mixed> = []
Tags
delegateMessage()
Delegate a message to all reporters that implement IMessageReporter
public
delegateMessage(string $message[, array<string|int, mixed> $context = [] ]) : void
used internally only
Parameters
- $message : string
- $context : array<string|int, mixed> = []
Tags
delegateReport()
Delegate crash reporting to all registered reporters
public
delegateReport(Exception|Throwable $exception[, array<string|int, mixed> $context = [] ]) : mixed
used internally only
Parameters
- $exception : Exception|Throwable
- $context : array<string|int, mixed> = []
Tags
hasReporters()
Check if any reporter has been registered to delegate to
public
hasReporters() : bool
use internally only
Tags
Return values
boolregister()
Register a reporter instance
public
register(IReporter $reporter) : void
use IRegistrationContext::registerCrashReporter
Parameters
- $reporter : IReporter