ErrorLevelActivationStrategy
in package
implements
ActivationStrategyInterface
Error level based activation strategy.
Tags
Interfaces, Classes and Traits
- ActivationStrategyInterface
- Interface for activation strategies for the FingersCrossedHandler.
Table of Contents
- $actionLevel : Level
- __construct() : mixed
- isHandlerActivated() : bool
- Returns whether the given record activates the handler.
Properties
$actionLevel
private
Level
$actionLevel
Methods
__construct()
public
__construct(int|string $actionLevel) : mixed
Parameters
- $actionLevel : int|string
-
Level or name or value
Tags
Return values
mixed —isHandlerActivated()
Returns whether the given record activates the handler.
public
isHandlerActivated(array<string|int, mixed> $record) : bool
Parameters
- $record : array<string|int, mixed>