Zend\View\Renderer\PhpRenderer::setCanRenderTrees
Set flag indicating whether or not we should render trees of view models
If set to true, the View instance will not attempt to render children separately, but instead pass the root view model directly to the PhpRenderer. It is then up to the developer to render the children from within the view script.
Signature
public function setCanRenderTrees(bool
$renderTrees )
Parameters
$renderTrees
— object
Returns
- PhpRenderer