Nextcloud PHP API (master)

IRegistry

Tags
since
13.0.0
deprecated

used internally only

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
Parameters
$message : string
$category : string
$context : array<string|int, mixed> = []
Tags
deprecated

used internally only

since
15.0.0

delegateMessage()

Delegate a message to all reporters that implement IMessageReporter

public delegateMessage(string $message[, array<string|int, mixed> $context = [] ]) : void
Parameters
$message : string
$context : array<string|int, mixed> = []
Tags
deprecated

used internally only

since
17.0.0

delegateReport()

Delegate crash reporting to all registered reporters

public delegateReport(Exception|Throwable $exception[, array<string|int, mixed> $context = [] ]) : mixed
Parameters
$exception : Exception|Throwable
$context : array<string|int, mixed> = []
Tags
deprecated

used internally only

since
13.0.0

hasReporters()

Check if any reporter has been registered to delegate to

public hasReporters() : bool
Tags
deprecated

use internally only

since
26.0.0
Return values
bool

        
On this page

Search results