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
d784eaeb
Commit
d784eaeb
authored
Jan 13, 2013
by
Igor Wiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[docs] Clarify wording of controllers-in-classes to create object
parent
605f8262
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 @
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 th
at controller class
for you::
you can tell Silex to lazily create th
e controller object
for you::
$app->get('/', 'Igorw\Foo::bar');
$app->get('/', 'Igorw\Foo::bar');
...
...
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