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

Moves the RouteResultObserverInterface back to the Expressive namespace #206

Merged

Conversation

weierophinney
Copy link
Member

This patch moves the RouteResultObserverInterface into the Zend\Expressive namespace. Since it is triggered by Application, it is an application-level responsibility, not the router's.

Since the class names do not conflict, this can lead to an immediate deprecation of the original interface in the zend-expressive-router package. However, zend-expressive-zendviewrenderer will need updates so that it fulfills the new interface via its UrlHelper instance.

Since the interface has not been part of an official Expressive release yet, this change is backwards compatible.

This patch moves the `RouteResultObserverInterface` into the `Zend\Expressive`
namespace. Since it is triggered by `Application`, it is an application-level
responsibility, not the router's.

Since the class names do not conflict, this can lead to an immediate deprecation
of the original interface in the zend-expressive-router package. However,
zend-expressive-zendviewrenderer will need updates so that it fulfills the new
interface via its `UrlHelper` instance.
@weierophinney weierophinney added this to the 1.0.0rc3 milestone Dec 3, 2015
@weierophinney weierophinney merged commit 394c87a into zendframework:master Dec 3, 2015
weierophinney added a commit that referenced this pull request Dec 3, 2015
weierophinney added a commit that referenced this pull request Dec 3, 2015
@weierophinney weierophinney deleted the hotfix/route-result-observer branch December 3, 2015 16:22
weierophinney added a commit to weierophinney/zend-expressive-router that referenced this pull request Dec 3, 2015
This functionality was moved to zend-expressive in
zendframework/zend-expressive#206.
weierophinney added a commit to weierophinney/zend-expressive-zendviewrenderer that referenced this pull request Dec 3, 2015
Following on zendframework/zend-expressive#206, this patch updates the
`UrlHelper` to implement `Zend\Expressive\RouteResultObserverInterface` instead
of `Zend\Expressive\Router\RouteResultObserverInterface`, which is now
deprecated.
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