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

Commit f48f30c

Browse files
committed
Changelog was created for #9
1 parent 057d2b8 commit f48f30c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@ All notable changes to this project will be documented in this file, in reverse
88

99
- [#4](https://github.com/zendframework/zend-expressive-zendviewrenderer/pull/)
1010
Allow rendering view models via render
11+
- [#9](https://github.com/zendframework/zend-expressive-zendviewrenderer/pull/)
12+
updates `UrlHelper` to implement `Zend\Expressive\Template\RouteResultObserverInterface`,
13+
and the `update()` method it defines. This allows it to observer the
14+
application for the `RouteResult` and store it for later URI generation.
15+
To accomplish this, the following additional changes were made:
16+
- `Zend\Expressive\ZendView\UrlHelperFactory` was added, for creating the
17+
`UrlHelper` instance. This should be registered with the application service
18+
container.
19+
- `Zend\Expressive\ZendView\ZendViewRendererFactory` was updated to look for
20+
the `Zend\Expressive\ZendView\UrlHelper` service in the application service
21+
container, and use it to seed the `HelperManager` when available.
22+
- `Zend\Expressive\ZendView\ApplicationUrlDelegatorFactory` was created; when
23+
registered as a delegator factory with the `Zend\Expressive\Application`
24+
service, it will pull the `UrlHelper` and attach it as a route result
25+
observer to the `Application` instance. Documentation was also provided for
26+
creating a Pimple extension for accomplishing this.
1127

1228
### Deprecated
1329

0 commit comments

Comments
 (0)