W3cubDocs

/Symfony 4.1

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(iterable $listeners, ExceptionListener $exceptionListener = null, $logoutListener = null, FirewallConfig $config = null)
getConfig()
iterable getListeners()
getExceptionListener()
getLogoutListener()

Details

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

Parameters

iterable $listeners
ExceptionListener $exceptionListener
$logoutListener
FirewallConfig $config

getConfig()

iterable getListeners()

Return Value

iterable

getExceptionListener()

getLogoutListener()

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