FirewallContext

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(array $listeners, ExceptionListener $exceptionListener = null, FirewallConfig $config = null)
getConfig()
getContext() deprecated
getListeners()
getExceptionListener()

Details

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

Parameters

array $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.

getListeners()

getExceptionListener()

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部