When using Symfony frontend application it is sometimes necessary to access other application’s routing to create an internal url that points to that application.
In order for that to be posssible, a method for getting the desired application’s routing is required.
Tag: routing
Generating url using routing from anywhere in Symfony
Posted on Category:SymfonyThis post describes how to generate URL from anywhere in Symfony application. For example, I needed to create URL for forgotten password within an error message for invalid e-mail address. Needless to say, this should be done in user registration form class.