wiki/content/20201112132747-utf8_routing_option.md

337 B

id title
45b1f81a-d5f4-4f28-99d6-6a1592c75f7d UTF8 Routing Option

Syntax

// PHP Annotations

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