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, array $map)
array getListeners(Request $request)

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

Details

__construct(ContainerInterface $container, array $map)

Parameters

ContainerInterface $container
array $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)
doc_Symfony
2016-10-28 06:16:59
Comments
Leave a Comment

Please login to continue.