Commit c3dc8d7e authored by Fabien Potencier's avatar Fabien Potencier

merged branch igorw/oop-wording (PR #582)

This PR was merged into the master branch.

Commits
-------

d784eaeb [docs] Clarify wording of controllers-in-classes to create object

Discussion
----------

[docs] Clarify wording of controllers-in-classes to create object
parents 605f8262 d784eaeb
...@@ -384,7 +384,7 @@ Controllers in classes ...@@ -384,7 +384,7 @@ Controllers in classes
If you don't want to use anonymous functions, you can also define your If you don't want to use anonymous functions, you can also define your
controllers as methods. By using the ``ControllerClass::methodName`` syntax, controllers as methods. By using the ``ControllerClass::methodName`` syntax,
you can tell Silex to lazily create that controller class for you:: you can tell Silex to lazily create the controller object for you::
$app->get('/', 'Igorw\Foo::bar'); $app->get('/', 'Igorw\Foo::bar');
......
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