Documentation

NotFoundActivationStrategy
in package
implements ActivationStrategyInterface

FinalYes

Activation strategy that ignores 404s for certain URLs.

Tags
author

Jordi Boggiano j.boggiano@seld.be

author

Fabien Potencier fabien@symfony.com

author

Pierrick Vignand pierrick.vignand@gmail.com

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

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>
Return values
bool

        
On this page

Search results