yamlful
yamlful copied to clipboard
Simple assertions againts URL params
Could we use assertions for routing? Similar to https://symfony.com/doc/4.1/routing.html#advanced-routing-example
Thanks
# config/routes.yaml
blog_list:
path: /blog/{page}
controller: App\Controller\BlogController::list
requirements:
page: '\d+'