Could not find an answere here in so. Hope I didn't missed it.
I tried, but couldn't find a way to get the route by a given controller and action inf ZF2. I want to build an admin page for acls and I want to display the route for the resource. I build the resource dynamically from Module/Controller/Action names.
Lets say I have a Controller named Application and an action named testAction. In my module.config.php is the route /application[:/action] defined. Now I want to ask ZF2, which route has the controller "Application" with the method testAction and the result should be application/test.
Is this possible somehow?