File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -683,6 +683,14 @@ response types. Some of these are mentioned below. To learn more about the
683683``Request `` and ``Response `` (and different ``Response `` classes), see the
684684:ref: `HttpFoundation component documentation <component-http-foundation-request >`.
685685
686+ .. note ::
687+
688+ Technically, a controller can return a value other than a ``Response ``.
689+ However, your application is responsible for transforming that value into a
690+ ``Response `` object. This is handled using :doc: `events </event_dispatcher >`
691+ (specifically the :ref: `kernel.view event <component-http-kernel-kernel-view >`),
692+ an advanced feature you'll learn about later.
693+
686694Accessing Configuration Values
687695~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
688696
You can’t perform that action at this time.
0 commit comments