See
https://github.com/zf-fr/zfr-rest/blob/ad101a08632df8f3c1b5fcf063179ea7f12a4914/config/module.config.php#L70-L78-
that's how we solved it at least

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/


On 18 October 2013 14:05, Juan Pedro Gonzalez <[email protected]>wrote:

> How can I create my custom route passing the `creationOptions`?
> I have a route that extends Segment, but want to inject the serviceManager
> into it as I need to access a service to complete the routing strategy. My
> main problem is: how do I set the options?
> In the sample at http://zf2cheatsheet.com/#routing he doesn't need
> options in the module.config.php but I do and after looking into the code I
> can not figure out how to get it working.
>
>
>

Reply via email to