zendframework/zf2 — pull request #2221 by weierophinney (2012-08-22 21:08:18+00:00)
Title: Synced url plugin and helper usage

As reported by Ralf Eggert on the mailing list, the signatures for the url controller plugin and view helper differ. Additionally, the "reuseMatchedParameters" flag, being a final optional flag, is hard to set. This PR addresses these issues.

- Both now allow using route match parameters
- Both now allow empty invocation (defaulting to current matched route)
- Both now allow passing the $reuseMatchedParams flag as the third
parameter if no options are being passed
- Unit tests were added for both classes