Commit 6ba6fbe9 by Carsten Brandt

mention response component in controller.md

parent 5aaa87c3
......@@ -35,6 +35,9 @@ class SiteController extends Controller
```
As you can see, typical controller contains actions that are public class methods named as `actionSomething`.
The output of an action is what the method returns. The return value will be handled by the `response` application
component which can convert the output to differnet formats such as JSON for example. The default behavior
is to output the value unchanged though.
Routes
------
......@@ -183,7 +186,6 @@ Filters
Catching all incoming requests
------------------------------
See also
--------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment