Syntax // PHP Annotations /** * @Route("/category/{name}", name="category", utf8=true) */ public function category() category: path: /category/{name} controller: App\Controller\DefaultController::category utf8: true