6.5 Таблица событий Symfony
Name | KernelEvents Constant | Argument passed to the listener |
---|---|---|
kernel.request | KernelEvents::REQUEST | GetResponseEvent |
kernel.controller | KernelEvents::CONTROLLER | FilterControllerEvent |
kernel.view | KernelEvents::VIEW | GetResponseForControllerResultEvent |
kernel.response | KernelEvents::RESPONSE | FilterResponseEvent |
kernel.finish_request | KernelEvents::FINISH_REQUEST | FinishRequestEvent |
kernel.terminate | KernelEvents::TERMINATE | PostResponseEvent |
kernel.exception | KernelEvents::EXCEPTION | GetResponseForExceptionEvent |