Browse files

Clarify ParamConverter section example with use statement

I've added "use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;"
to the first ParamConverter example just to make it clear.
  • Loading branch information...
1 parent ea1fd3e commit 1069d2162afe6bca5ad69689c0e137f14a549798 @eggfriedrice eggfriedrice committed Sep 5, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 cookbook/symfony2/working-with-symfony2.markdown
View
3 cookbook/symfony2/working-with-symfony2.markdown
@@ -583,6 +583,9 @@ You just need to put the right _Annotation_ on top of your controller:
{% highlight php %}
<?php
+use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
+[...]
+
/**
* @ParamConverter("post", class="BlogBundle\Model\Post")
*/

0 comments on commit 1069d21

Please sign in to comment.