Symfony Configuration ● Routing and others can be defined with annotation namespace Acme\HelloBundle\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; class HelloController { /** * @Route( /hello/{name} ) * @Method( GET ) */ public function indexAction($name) {...
{}