Tutorial 12: How to get Symfony route attributes within the controller See demo.http Demonstrates how to get the route attributes from the request within the controller