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

Commit

Permalink
Changelog was created for #9
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Dec 2, 2015
1 parent 057d2b8 commit f48f30c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,22 @@ All notable changes to this project will be documented in this file, in reverse

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

### Deprecated

Expand Down

0 comments on commit f48f30c

Please sign in to comment.