Hi folks. Let’s say I have a string representing a path “/some/path”. I’d like to know if a route has been defined for that path.
Is there a way to search and see if a route matching that path has already been defined?
You can subscribe to an application startup event and there, probe the resolution of a specific request by the routing. In order to run the following example, you need