Permalink
Browse files

minor #4788 Controller is a callable (timglabisch)

This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #4788).

Discussion
----------

Controller is a callable

Hello,

i am not sure about this PR but the statement ``A controller is a PHP function`` is wrong.
A controller can be everything that is callable by php.

Commits
-------

3e98b3a Controller is a callable
  • Loading branch information...
wouterj committed Jan 8, 2015
2 parents 28571fc + 3e98b3a commit 74c3a35d04ec8c3b4a3e43d8081c22ceec72874d
Showing with 1 addition and 1 deletion.
  1. +1 −1 book/controller.rst
@@ -4,7 +4,7 @@
Controller
==========
A controller is a PHP function you create that takes information from the
A controller is a PHP callable you create that takes information from the
HTTP request and constructs and returns an HTTP response (as a Symfony
``Response`` object). The response could be an HTML page, an XML document,
a serialized JSON array, an image, a redirect, a 404 error or anything else

0 comments on commit 74c3a35

Please sign in to comment.