This repository was archived by the owner on Jan 21, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,31 @@ All notable changes to this project will be documented in this file, in reverse
66
77### Added
88
9- - Nothing.
9+ - [ #30 ] ( https://github.com/zendframework/zend-expressive-zendviewrenderer/pull/30 )
10+ adds support for zend-expressive-router 2.0.
11+
12+ - [ #30 ] ( https://github.com/zendframework/zend-expressive-zendviewrenderer/pull/30 )
13+ adds support for zend-expressive-helpers 2.2 and 3.0.
14+
15+ - [ #30 ] ( https://github.com/zendframework/zend-expressive-zendviewrenderer/pull/30 )
16+ adds new arguments to the ` url() ` helper:
17+
18+ ``` php
19+ echo $this->url(
20+ $routeName, // (optional) string route for which to generate URI; uses matched when absent
21+ $routeParams, // (optional) array route parameter substitutions; uses matched when absent
22+ $queryParams, // (optional) array query string arguments to include
23+ $fragment, // (optional) string URI fragment to include
24+ $options, // (optional) array of router options. The key `router` can
25+ // contain options to pass to the router; the key
26+ // `reuse_result_params` can be used to disable re-use of
27+ // matched routing parameters.
28+ );
29+ ```
30+
31+ If using zend-expressive-router versions prior to 2.0 and/or
32+ zend-expressive-helpers versions prior to 3.0, arguments after ` $routeParams `
33+ will be ignored.
1034
1135### Changed
1236
You can’t perform that action at this time.
0 commit comments