Skip to content

Commit 74c3a35

Browse files
committed
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
2 parents 28571fc + 3e98b3a commit 74c3a35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/controller.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Controller
55
==========
66

7-
A controller is a PHP function you create that takes information from the
7+
A controller is a PHP callable you create that takes information from the
88
HTTP request and constructs and returns an HTTP response (as a Symfony
99
``Response`` object). The response could be an HTML page, an XML document,
1010
a serialized JSON array, an image, a redirect, a 404 error or anything else

0 commit comments

Comments
 (0)