oaugustus/DirectBundle — Issue #4: "The annotation "@remote" [...] was never imported."
Author: YetiCGN
Created: 2011-11-25 09:34:56+00:00
State: open

I can't seem to get the API exposed in my own bundle. When I put the controller in the Neton\DirectBundle, it works, but I need to have the controller in my own bundle exposed.

If I use the comment syntax from the docu /*, it does not show up in the Direct API.

If I use PHPdoc syntax /** this exception appears:
"AnnotationException: [Semantical Error] The annotation "@remote" in method Vendor\DemoBundle\Controller\ExtController::indexAction() was never imported. Did you maybe forget to add a "use" statement for this annotation?"

I could not find an annotation class to import like with Symfony2 annotations. Could you please provide these annotation classes or show me how to get it done another way?