Reputation: 1420
I would like to restrict some of the routing parameters, but as it is a complex and repeating rule, I would like to have it set in the projects config file.
The solution is well described in Symfony's documentation here, but what is omitted is how to use it with annotation routing. It's neither shown nor said it can't be done.
Question is, how to achieve this?
Upvotes: 1
Views: 106