Flow PHP

StreamHandler implements ErrorHandler

FinalYes

Lines are LOCK_EX'd best-effort; TTYs and pipes cannot lock.

Interfaces

ErrorHandler
Implementations must never throw: the SDK never throws to user code (OTel).

Methods

__construct()  : mixed
__destruct()  : mixed
handle()  : void

Methods

__construct()

public __construct(string $destination[, int $filePermissions = 0644 ][, bool $createDirectories = true ][, string $messagePrefix = '[flow-telemetry]' ]) : mixed
Parameters
$destination : string
$filePermissions : int = 0644
$createDirectories : bool = true
$messagePrefix : string = '[flow-telemetry]'

handle()

public handle(Throwable $error) : void
Parameters
$error : Throwable
On this page

Search results