Skip to content

Commit d20e0df

Browse files
committed
added deprecation info
1 parent cf886c5 commit d20e0df

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

components/http_kernel.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,19 @@ kernel.terminate ``KernelEvents::TERMINATE`` :class:`Sym
615615
kernel.exception ``KernelEvents::EXCEPTION`` :class:`Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent`
616616
=========================== ====================================== ========================================================================
617617

618+
.. deprecated:: 4.3
619+
620+
Since Symfony 4.3, most of the event classes were renamed.
621+
The following old classes were deprecated:
622+
623+
* `GetResponseEvent` renamed to :class:`Symfony\\Component\\HttpKernel\\Event\\RequestEvent`
624+
* `FilterControllerEvent` renamed to :class:`Symfony\\Component\\HttpKernel\\Event\\ControllerEvent`
625+
* `FilterControllerArgumentsEvent` renamed to :class:`Symfony\\Component\\HttpKernel\\Event\\ControllerArgumentsEvent`
626+
* `GetResponseForControllerResultEvent` renamed to :class:`Symfony\\Component\\HttpKernel\\Event\\ViewEvent`
627+
* `FilterResponseEvent` renamed to :class:`Symfony\\Component\\HttpKernel\\Event\\ResponseEvent`
628+
* `PostResponseEvent` renamed to :class:`Symfony\\Component\\HttpKernel\\Event\\TerminateEvent`
629+
* `GetResponseForExceptionEvent` renamed to :class:`Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent`
630+
618631
.. _http-kernel-working-example:
619632

620633
A full Working Example

0 commit comments

Comments
 (0)