As it seems there is currently no elegant way to retrieve a previously defined route and its variables from within a ZF2 controller, so maybe it would be nice to have a custom route that exposes some kind of API to get the variable URI parts or maybe even supports that proposed standard RFC 6570?
While trying to implement the Hypertext Application Language specification in one of my projects I stumbled upon the issue on how to construct a templated URI like this:
As it seems there is currently no elegant way to retrieve a previously defined route and its variables from within a ZF2 controller, so maybe it would be nice to have a custom route that exposes some kind of API to get the variable URI parts or maybe even supports that proposed standard RFC 6570?