sensio/SensioFrameworkExtraBundle — pull request #145 by adrienbrault (2012-07-26 10:34:42+00:00)
Title: Fix error when using Symfony Routing component annotations

Hi, i just go an error because i was using `Symfony\Component\Routing\Annotation\Route` instead of `Sensio\Bundle\FrameworkExtraBundle\Configuration\Route` for controller routing annotations.

Here's the commit detail:

> A controller using "Symfony\Component\Routing\Annotation\Route" instead of "Sensio\Bundle\FrameworkExtraBundle\Configuration\Route", with a prefix annotation on the class:
>
> /**
> * @Route("/prefix")
> */
> class SomeController { }
>
> would cause an error:
>
> Fatal error: Call to undefined method Symfony\Component\Routing\Annotation\Route::getService() in /vendor/sensio/framework-extra-bundle/Sensio/Bundle/FrameworkExtraBundle/Routing/AnnotatedRouteControllerLoader.php on line 40