EventListener (Component\HttpKernel)

Symfony\Component\HttpKernel\EventListener

Classes

AddRequestFormatsListener Adds configured formats to each request
DebugHandlersListener Configures errors and exceptions handlers.
DumpListener Configures dump() handler.
ErrorsLoggerListener deprecated Injects the logger into the ErrorHandler, so that it can log various errors.
EsiListener deprecated EsiListener adds a Surrogate-Control HTTP header when the Response needs to be parsed for ESI.
ExceptionListener ExceptionListener.
FragmentListener Handles content fragments represented by special URIs.
LocaleListener Initializes the locale based on the current request.
ProfilerListener ProfilerListener collects data for the current request by listening to the onKernelResponse event.
ResponseListener ResponseListener fixes the Response headers based on the Request.
RouterListener Initializes the context from the request and sets request attributes based on a matching route.
SaveSessionListener Saves the session, in case it is still open, before sending the response/headers.
SessionListener Sets the session in the request.
StreamedResponseListener StreamedResponseListener is responsible for sending the Response to the client.
SurrogateListener SurrogateListener adds a Surrogate-Control HTTP header when the Response needs to be parsed for Surrogates
TestSessionListener TestSessionListener.
TranslatorListener Synchronizes the locale between the request and the translator.

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/HttpKernel/EventListener.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部