Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcd5fe5a

Browse files
ottavianojaviereguiluz
authored andcommitted
Http kernel controller arguments
1 parentc5f05cb commitcd5fe5a

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

‎README.markdown‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ This documentation is rendered online at https://symfony.com/doc/current/
66
Contributing
77
------------
88

9-
>**Note**
10-
>Unless you're documenting a feature that was introduced*after* Symfony 3.4
11-
>(e.g. in Symfony 4.2), all pull requests must be based off of the**3.4** branch,
12-
>**not** the master or older branches.
9+
>**Note**
10+
>Unless you're documenting a feature that was introduced*after* Symfony 3.4
11+
>(e.g. in Symfony 4.2), all pull requests must be based off of the**3.4** branch,
12+
>**not** the master or older branches.
1313
1414
We love contributors! For more information on how you can contribute to the
1515
Symfony documentation, please read

‎components/http_kernel.rst‎

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -622,17 +622,18 @@ each event has their own event object:
622622

623623
.. _component-http-kernel-event-table:
624624

625-
===================== ================================ ===================================================================================
626-
Name ``KernelEvents`` Constant Argument passed to the listener
627-
===================== ================================ ===================================================================================
628-
kernel.request ``KernelEvents::REQUEST``:class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent`
629-
kernel.controller ``KernelEvents::CONTROLLER``:class:`Symfony\\Component\\HttpKernel\\Event\\FilterControllerEvent`
630-
kernel.view ``KernelEvents::VIEW``:class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseForControllerResultEvent`
631-
kernel.response ``KernelEvents::RESPONSE``:class:`Symfony\\Component\\HttpKernel\\Event\\FilterResponseEvent`
632-
kernel.finish_request ``KernelEvents::FINISH_REQUEST``:class:`Symfony\\Component\\HttpKernel\\Event\\FinishRequestEvent`
633-
kernel.terminate ``KernelEvents::TERMINATE``:class:`Symfony\\Component\\HttpKernel\\Event\\PostResponseEvent`
634-
kernel.exception ``KernelEvents::EXCEPTION``:class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseForExceptionEvent`
635-
===================== ================================ ===================================================================================
625+
=========================== ====================================== ===================================================================================
626+
Name ``KernelEvents`` Constant Argument passed to the listener
627+
=========================== ====================================== ===================================================================================
628+
kernel.request ``KernelEvents::REQUEST``:class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent`
629+
kernel.controller ``KernelEvents::CONTROLLER``:class:`Symfony\\Component\\HttpKernel\\Event\\FilterControllerEvent`
630+
kernel.controller_arguments ``KernelEvents::CONTROLLER_ARGUMENTS``:class:`Symfony\\Component\\HttpKernel\\Event\\FilterControllerArgumentsEvent`
631+
kernel.view ``KernelEvents::VIEW``:class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseForControllerResultEvent`
632+
kernel.response ``KernelEvents::RESPONSE``:class:`Symfony\\Component\\HttpKernel\\Event\\FilterResponseEvent`
633+
kernel.finish_request ``KernelEvents::FINISH_REQUEST``:class:`Symfony\\Component\\HttpKernel\\Event\\FinishRequestEvent`
634+
kernel.terminate ``KernelEvents::TERMINATE``:class:`Symfony\\Component\\HttpKernel\\Event\\PostResponseEvent`
635+
kernel.exception ``KernelEvents::EXCEPTION``:class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseForExceptionEvent`
636+
=========================== ====================================== ===================================================================================
636637

637638
.. _http-kernel-working-example:
638639

‎reference/events.rst‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,9 @@ their priorities:
142142

143143
**Event Class**::class:`Symfony\\Component\\HttpKernel\\Event\\FinishRequestEvent`
144144

145-
This event is dispatched after a:ref:`sub request<http-kernel-sub-requests>`
146-
has finished. It's useful to reset the global state of the application (for
147-
example, the translator listener resets the translator's locale to the one of
148-
the parent request)::
145+
This event is dispatched after the ``kernel.response`` event. It's useful to reset
146+
the global state of the application (for example, the translator listener resets
147+
the translator's locale to the one of the parent request)::
149148

150149
public function onKernelFinishRequest(FinishRequestEvent $event)
151150
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp