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
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
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
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;
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,
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
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
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