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

Do not act as a route result observer #7

Merged

Conversation

weierophinney
Copy link
Member

This patch updates the UrlHelper such that it no longer acts as a route result observer. The UrlHelperMiddleware was updated to look for the RouteResult attribute, and, if present, inject the UrlHelper via its setRouteResult() property.

These changes:

This patch updates the `UrlHelper` such that it no longer acts as a
route result observer. The `UrlHelperMiddleware` was updated to look for
the `RouteResult` attribute, and, if present, inject the `UrlHelper` via
its `setRouteResult()` property.

These changes:

- are not backwards compatible, and will require a new major version.
- require merging of zendframework/zend-expressive#270 for the
  middleware updates to work.
@weierophinney
Copy link
Member Author

Note that this is against the develop branch.

@weierophinney weierophinney merged commit 52b0f79 into zendframework:develop Jan 18, 2016
weierophinney added a commit that referenced this pull request Jan 18, 2016
weierophinney added a commit that referenced this pull request Jan 18, 2016
@weierophinney weierophinney deleted the feature/no-observers branch January 18, 2016 19:50
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