Skip to content

Commit c4d43a4

Browse files
committed
updated doc for core.view event
1 parent c60f18e commit c4d43a4

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

guides/internals/kernel.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ Event):
9090

9191
6. The Kernel calls the Controller;
9292

93-
7. Listeners of the ``core.view`` event can change the Controller return value
94-
(to convert it to a Response for instance);
93+
7. If the Controller does not return a Response, listeners of the
94+
``core.view`` event can convert the Controller return value to a Response;
9595

9696
8. Listeners of the ``core.response`` event can manipulate the Response
9797
(content and headers);
@@ -185,11 +185,9 @@ This event is not used by ``FrameworkBundle``.
185185
``core.view`` Event
186186
~~~~~~~~~~~~~~~~~~~
187187

188-
*Type*: ``filter``
189-
190-
*Arguments*: ``request_type`` and ``request``
188+
*Type*: ``notifyUntil``
191189

192-
*Value to filter*: The Controller returned value
190+
*Arguments*: ``request_type``, ``request``, and ``controller_value``
193191

194192
This event is not used by ``FrameworkBundle``. It can be used to implement a
195193
view sub-system.

0 commit comments

Comments
 (0)