Symfony: Adding custom route by code during runtime

During development we always come across situation where you need to add custom routes based on some settings based from the user. In this case we cannot use any of the standard methods like annotation and configuration files in symfony. In this case you need to use a services and hooks to inject your custom… Continue reading Symfony: Adding custom route by code during runtime