NoopHandler
extends Handler
in package
No-op
This handler handles anything, but does nothing, and does not stop bubbling to the rest of the stack. This can be used for testing, or to disable a handler when overriding a configuration without influencing the rest of the stack.
Tags
Table of Contents
- __destruct() : mixed
- __sleep() : mixed
- close() : void
- {@inheritdoc}
- handle() : bool
- {@inheritdoc}
- handleBatch() : void
- Handles a set of records at once.
- isHandling() : bool
- {@inheritdoc}
Methods
__destruct()
public
__destruct() : mixed
Return values
mixed —__sleep()
public
__sleep() : mixed
Return values
mixed —close()
{@inheritdoc}
public
close() : void
Return values
void —handle()
{@inheritdoc}
public
handle(array<string|int, mixed> $record) : bool
Parameters
- $record : array<string|int, mixed>
Return values
bool —handleBatch()
Handles a set of records at once.
public
handleBatch(array<string|int, mixed> $records) : void
Parameters
- $records : array<string|int, mixed>
-
The records to handle (an array of record arrays)
Return values
void —isHandling()
{@inheritdoc}
public
isHandling(array<string|int, mixed> $record) : bool
Parameters
- $record : array<string|int, mixed>