Flow PHP

VoidExporter implements Exporter

Read onlyYes
FinalYes

No-op exporter that discards all data.

Interfaces

Exporter
Interface for exporting telemetry signals to external systems.

Methods

export()  : bool
Export a signal batch.
shutdown()  : void
Shutdown the exporter and any owned transports.

Methods

export()

Export a signal batch.

public export(Signals $signal) : bool

Implementations dispatch on Signal::$type via match.

Parameters
$signal : Signals
Return values
bool

True on success, false on failure

shutdown()

Shutdown the exporter and any owned transports.

public shutdown() : void

Implementations MUST be idempotent and MUST NOT throw - runtime errors are routed through the configured error handler instead.

On this page

Search results