Commit c60a10bf authored by Fabien Potencier's avatar Fabien Potencier

minor #821 Fixed typo in "Controllers in classes" paragraph (sensorario)

This PR was merged into the master branch.

Discussion
----------

Fixed typo in "Controllers in classes" paragraph

Commits
-------

0983ea1f Fixed typo in "Controllers in classes" paragraph
parents bfe26294 0983ea1f
...@@ -453,7 +453,7 @@ If you don't want to use anonymous functions, you can also define your ...@@ -453,7 +453,7 @@ 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 the controller object for you:: you can tell Silex to lazily create the controller object for you::
$app->get('/', 'Igorw\Foo::bar'); $app->get('/', 'Igorw\\Foo::bar');
use Silex\Application; use Silex\Application;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
......
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