@@ -17,15 +17,16 @@ Third release candidate.
1717 array ** must** be callables, service names resolving to callable middleware,
1818 or fully qualified class names that can be instantiated without arguments, and
1919 which result in invokable middleware.
20- - [ #200 ] ( https://github.com/zendframework/zend-expressive/pull/200 ) adds a new
21- interface, ` Zend\Expressive\Router\RouteResultObserverInterface ` (since moved
22- to the zend-expressive-router package). ` Zend\Expressive\Application ` now
23- also defines two methods, ` attachRouteResultObserver() ` and
24- ` detachRouteResultObserver() ` , which accept instances of the interface. During
25- ` routeMiddleware() ` , all observers are updated immediately following the call
26- to ` RouterInterface::match() ` with the ` RouteResult ` instance. This feature
27- enables the ability to notify objects of the calculated ` RouteResult ` without
28- needing to inject middleware into the system.
20+ - [ #200 ] ( https://github.com/zendframework/zend-expressive/pull/200 ) and
21+ [ #206 ] ( https://github.com/zendframework/zend-expressive/pull/206 ) add a new
22+ interface, ` Zend\Expressive\RouteResultObserverInterface ` .
23+ ` Zend\Expressive\Application ` now also defines two methods,
24+ ` attachRouteResultObserver() ` and ` detachRouteResultObserver() ` , which accept
25+ instances of the interface. During ` routeMiddleware() ` , all observers are
26+ updated immediately following the call to ` RouterInterface::match() ` with the
27+ ` RouteResult ` instance. This feature enables the ability to notify objects of
28+ the calculated ` RouteResult ` without needing to inject middleware into the
29+ system.
2930- [ #81 ] ( https://github.com/zendframework/zend-expressive/pull/81 ) adds a
3031 cookbook entry for creating 404 handlers.
3132
0 commit comments