Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
0983ea1f
Commit
0983ea1f
authored
Oct 28, 2013
by
sensorario
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typo in "Controllers in classes" paragraph
parent
bfe26294
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
doc/usage.rst
doc/usage.rst
+1
-1
No files found.
doc/usage.rst
View file @
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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment