W3cubDocs

/Symfony 4.1

FirewallMap

class FirewallMap implements FirewallMapInterface

This is a lazy-loading firewall map implementation.

Listeners will only be initialized if we really need them.

Methods

__construct(ContainerInterface $container, iterable $map)
array getListeners(Request $request)

Returns the authentication listeners, and the exception listener to use for the given request.

FirewallConfig|null getFirewallConfig(Request $request)

Details

__construct(ContainerInterface $container, iterable $map)

Parameters

ContainerInterface $container
iterable $map

array getListeners(Request $request)

Returns the authentication listeners, and the exception listener to use for the given request.

If there are no authentication listeners, the first inner array must be empty.

If there is no exception listener, the second element of the outer array must be null.

Parameters

Request $request

Return Value

array of the format array(array(AuthenticationListener), ExceptionListener)

FirewallConfig|null getFirewallConfig(Request $request)

Parameters

Request $request

Return Value

FirewallConfig|null

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bundle/SecurityBundle/Security/FirewallMap.html