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

Implement RouteResultSubjectInterface #211

Merged

Conversation

weierophinney
Copy link
Member

Updates Application to implement Zend\Expressive\Router\RouteResultSubjectInterface from zend-expressive-router 1.1.0. This involves:

  • Removing Zend\Expressive\RouteResultObserverInterface (in favor of Zend\Expressive\Router\RouteResultObserverInterface).
  • Updating typehints on (attach|detach)RouteResultObserver() to consume Zend\Expressive\Router\RouteResultObserverInterface instead of Zend\Expressive\RouteResultObserverInterface.
  • Making notifyRouteResultObservers() public.
  • Updating typehints in tests to consume Zend\Expressive\Router\RouteResultObserverInterface instead of Zend\Expressive\RouteResultObserverInterface.

This is backwards compatible, as the route result observer algorithm has not been in a public release yet.

- To pick up the `RouteResultSubjectInterface`
Updates `Application` to implement `Zend\Expressive\Router\RouteResultSubjectInterface`
explicitly. This involves:

- Removing `Zend\Expressive\RouteResultObserverInterface` (in favor of
  `Zend\Expressive\Router\RouteResultObserverInterface`).
- Updating typehints on `(attach|detach)RouteResultObserver()` to
  consume `Zend\Expressive\Router\RouteResultObserverInterface` instead
  of `Zend\Expressive\RouteResultObserverInterface`.
- Making `notifyRouteResultObservers()` public.
- Updating typehints in tests to consume `Zend\Expressive\Router\RouteResultObserverInterface`
  instead of `Zend\Expressive\RouteResultObserverInterface`.
@weierophinney weierophinney added this to the 1.0.0rc3 milestone Dec 6, 2015
@weierophinney weierophinney self-assigned this Dec 6, 2015
@weierophinney weierophinney merged commit b374268 into zendframework:master Dec 6, 2015
weierophinney added a commit that referenced this pull request Dec 6, 2015
weierophinney added a commit that referenced this pull request Dec 6, 2015
weierophinney added a commit that referenced this pull request Dec 6, 2015
@weierophinney weierophinney deleted the feature/route-result-subject branch December 6, 2015 21:42
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