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
2dd6ff43
Commit
2dd6ff43
authored
Jan 16, 2015
by
SofHad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed syntax
parent
ed8423b9
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 @
2dd6ff43
...
@@ -322,7 +322,7 @@ The converter callback also receives the ``Request`` as its second argument::
...
@@ -322,7 +322,7 @@ The converter callback also receives the ``Request`` as its second argument::
A converter can also be defined as a service. For example, here is a user
A converter can also be defined as a service. For example, here is a user
converter based on Doctrine ObjectManager::
converter based on Doctrine ObjectManager::
use Doctrine\Common\Persistence\ObjectManager
use Doctrine\Common\Persistence\ObjectManager
;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
class UserConverter
class UserConverter
...
...
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