[symfony-users] Re: @extra annotations - what is the new format?

2011-05-31 Thread bkuberek
Hi all, is there a list of Annotation exceptions? Like, @var, @param, @return, etc, those are not used by Doctrine (as far as I understand) and don't need to be imported. I have some of my own that I tried using and get the AnnotationException. For example, I very often use the @todo and @fixme

Re: [symfony-users] Re: @extra annotations - what is the new format?

2011-05-31 Thread Christophe COEVOET
Le 31/05/2011 20:29, bkuberek a écrit : Hi all, is there a list of Annotation exceptions? Like, @var, @param, @return, etc, those are not used by Doctrine (as far as I understand) and don't need to be imported. I have some of my own that I tried using and get the AnnotationException. For

Re: [symfony-users] Re: @extra annotations - what is the new format?

2011-05-31 Thread Bastian Kuberek
Le 31/05/2011 20:29, bkuberek a écrit : Hi all, is there a list of Annotation exceptions? Like, @var, @param, @return, etc, those are not used by Doctrine (as far as I understand) and don't need to be imported. I have some of my own that I tried using and get the AnnotationException. For

Re: [symfony-users] Re: @extra annotations - what is the new format?

2011-05-24 Thread Christophe COEVOET
Le 23/05/2011 19:39, keymaster a écrit : Actually the correct form of the uses is (so you can use the shorted @Route instead of the long pathname): use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route as Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template as Template;

[symfony-users] Re: @extra annotations - what is the new format?

2011-05-23 Thread Matt Robinson
Try these: use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; /** * @Route(/, name=home) * @Template() */ and * @ParamConverter(id,

[symfony-users] Re: @extra annotations - what is the new format?

2011-05-23 Thread keymaster
worked like a charm. thanks. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

[symfony-users] Re: @extra annotations - what is the new format?

2011-05-23 Thread keymaster
Actually the correct form of the uses is (so you can use the shorted @Route instead of the long pathname): use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route as Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template as Template; use

Re: [symfony-users] Re: @extra annotations - what is the new format?

2011-05-23 Thread Matt Robinson
Really? Odd, works for me without the as. Oh well, if it breaks, I'll know what to do. Ta. :) On 23 May 2011, at 18:39, keymaster wrote: Actually the correct form of the uses is (so you can use the shorted @Route instead of the long pathname): use