I am building a URL inside of a class and I'd like to be able to change the routing if necessary later by just changing the routing.yml file.
If I have the route:
userSignup:
url: /user/signup
param: { module: user, action: signup }
How can I use the url_for('userSignup') helper in a class to dynamically create the URL?