NotFoundActivationStrategy
in package
implements
ActivationStrategyInterface
FinalYes
Activation strategy that ignores 404s for certain URLs.
Tags
Table of Contents
Interfaces
- ActivationStrategyInterface
- Interface for activation strategies for the FingersCrossedHandler.
Properties
- $exclude : string
- $inner : mixed
- $requestStack : mixed
Methods
- __construct() : mixed
- isHandlerActivated() : bool
- Returns whether the given record activates the handler.
Properties
$exclude
private
string
$exclude
$inner
private
mixed
$inner
$requestStack
private
mixed
$requestStack
Methods
__construct()
public
__construct(mixed $requestStack, array<string|int, mixed> $excludedUrls, mixed $inner) : mixed
Parameters
- $requestStack : mixed
- $excludedUrls : array<string|int, mixed>
- $inner : mixed
isHandlerActivated()
Returns whether the given record activates the handler.
public
isHandlerActivated(array<string|int, mixed> $record) : bool
Parameters
- $record : array<string|int, mixed>