@@ -459,14 +459,22 @@ the `TwigExtension` instance (assuming the router was found).
459459- ** Suggested Name** : ` Zend\Expressive\Template\TemplateRendererInterface `
460460- ** Requires** : no additional services are required.
461461- ** Optional** :
462- - ` Zend\Expressive\Router\RouterInterface ` , in order to inject the custom
463- url helper implementation.
464462 - ` config ` , an array or ` ArrayAccess ` instance. This will be used to further
465463 configure the ` ZendView ` instance, specifically with the layout template
466464 name, entries for a ` TemplateMapResolver ` , and and template paths to
467465 inject.
466+ - ` Zend\View\Renderer\PhpRenderer ` , in order to allow providing custom
467+ extensions and/or re-using an existing configuration; otherwise, a default
468+ instance is created.
468469 - ` Zend\View\HelperPluginManager ` ; if present, will be used to inject the
469- ` PhpRenderer ` instance.
470+ ` PhpRenderer ` instance; otherwise, a default instance is created.
471+ - ` Zend\Expressive\Helper\UrlHelper ` , in order to provide a URL helper
472+ compatible with zend-expressive-router. If you will not be generating
473+ URLs, this can be omitted.
474+ - ` Zend\Expressive\Helper\ServerUrlHelper ` , in order to provide a server URL
475+ helper (which provides the scheme and authority for a generated URL)
476+ compatible with zend-expressive-router. If you will not be generating
477+ URLs, this can be omitted.
470478
471479It consumes the following ` config ` structure:
472480
0 commit comments