Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Clarify that addRoute must raise exception #202

Conversation

weierophinney
Copy link
Member

Per #189, addRoute() MUST raise a RuntimeException if called after either match() or generateUri() have been called, to ensure the router state does not change between invocations.

Replaces #189.

Per zendframework#189, `addRoute()` **MUST** raise a `RuntimeException` if called
after either `match()` or `generateUri()` have been called, to ensure
the router state does not change between invocations.
@weierophinney weierophinney merged commit 546f2bc into zendframework:master Dec 1, 2015
weierophinney added a commit that referenced this pull request Dec 1, 2015
weierophinney added a commit that referenced this pull request Dec 1, 2015
@weierophinney weierophinney deleted the hotfix/add-route-clarification branch January 30, 2017 20:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant