Nextcloud PHP API (master)

IRegistry

used internally only

Tags
since
13.0.0

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
since
15.0.0

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
since
17.0.0

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
since
13.0.0

hasReporters()

Check if any reporter has been registered to delegate to

public hasReporters() : bool

use internally only

Tags
since
26.0.0
Return values
bool

        
On this page

Search results