From 612527f385430d606695021125eeaee2bfbfecae Mon Sep 17 00:00:00 2001 From: Aleksei Khudiakov Date: Tue, 4 Jun 2019 13:47:57 +1000 Subject: [PATCH] Add docs for extension parameter for zend view renderer --- docs/book/v3/features/container/factories.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/book/v3/features/container/factories.md b/docs/book/v3/features/container/factories.md index e6f73f34..f7a9a787 100644 --- a/docs/book/v3/features/container/factories.md +++ b/docs/book/v3/features/container/factories.md @@ -493,6 +493,7 @@ It consumes the following `config` structure: ```php 'templates' => [ 'layout' => 'name of layout view to use, if any', + 'extension' => 'file extension used by templates; defaults to phtml', 'map' => [ // template => filename pairs ], @@ -505,6 +506,8 @@ It consumes the following `config` structure: ] ``` +- `extension` parameter available since `zendframework/zend-expressive-zendviewrenderer` 2.2.0 + When creating the `PhpRenderer` instance, it will inject it with a `Zend\View\HelperPluginManager` instance (either pulled from the container, or instantiated directly). It injects the helper plugin manager with custom url and