Commit d784eaeb authored by Igor Wiedler's avatar Igor Wiedler

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

parent 605f8262
...@@ -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