This repository was archived by the owner on Jan 21, 2020. It is now read-only.
Expressive zend-view integration 1.3.0
Added
-
#23 adds the ability to disable layouts either globally or when rendering. Disable globally by setting the default
layout
parameter to booleanfalse
:$renderer->addDefaultParam(TemplateRendererInterface::TEMPLATE_ALL, 'layout', false);
Or do so when rendering, by passing the template variable
layout
with a booleanfalse
value:$renderer->render($templateName, [ 'layout' => false, // other template variables ]);
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.