NotFoundActivationStrategy
extends ErrorLevelActivationStrategy
in package
implements
ActivationStrategyInterface
Activation strategy that ignores 404s for certain URLs.
Tags
Interfaces, Classes and Traits
- ActivationStrategyInterface
- Interface for activation strategies for the FingersCrossedHandler.
Table of Contents
- $actionLevel : Level
- $exclude : mixed
- $inner : mixed
- $requestStack : mixed
- __construct() : mixed
- isHandlerActivated() : bool
- Returns whether the given record activates the handler.
Properties
$actionLevel
private
Level
$actionLevel
$exclude
private
mixed
$exclude
$inner
private
mixed
$inner
$requestStack
private
mixed
$requestStack
Methods
__construct()
public
__construct(RequestStack $requestStack, array<string|int, mixed> $excludedUrls, ActivationStrategyInterface|int|string $inner) : mixed
Parameters
- $requestStack : RequestStack
- $excludedUrls : array<string|int, mixed>
- $inner : ActivationStrategyInterface|int|string
-
an ActivationStrategyInterface to decorate
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>