W3cubDocs

/Symfony 4.1

HttpCodeActivationStrategy

class HttpCodeActivationStrategy extends ErrorLevelActivationStrategy

Activation strategy that ignores certain HTTP codes.

Methods

__construct(RequestStack $requestStack, array $exclusions, $actionLevel)
isHandlerActivated(array $record)

Details

__construct(RequestStack $requestStack, array $exclusions, $actionLevel)

Parameters

RequestStack $requestStack
array $exclusions
$actionLevel

isHandlerActivated(array $record)

Parameters

array $record