You should also add a XML and PHP example:

````rst
<import resource="@AcmeDemoBundle/Controller/DemoController.php"
    type="annotation"
    prefix="/demo"
/>
````

(I'm not sure about the PHP config)