FirewallContext

class FirewallContext

This is a wrapper around the actual firewall configuration which allows us to lazy load the context for one specific firewall only when we need it.

Methods

__construct($listeners, ExceptionListener $exceptionListener = null, FirewallConfig $config = null)
getConfig()
getContext() deprecated
Traversable|array getListeners()
getExceptionListener()

Details

__construct($listeners, ExceptionListener $exceptionListener = null, FirewallConfig $config = null)

Parameters

$listeners
ExceptionListener $exceptionListener
FirewallConfig $config

getConfig()

getContext() deprecated

deprecated

since version 3.3, will be removed in 4.0. Use {@link getListeners()} and/or {@link getExceptionListener()} instead.

Traversable|array getListeners()

Return Value

Traversable|array

getExceptionListener()

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.4/Symfony/Bundle/SecurityBundle/Security/FirewallContext.html