Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[NFR] Create a view method to simple render template to a string. #13825
Wait, doesn't view->getRender() already do this?
Watching the changes in code it seems the only real change is not to fire events. Is it planned to make available a method to do the action an the begining of this blog exposed?
$html = $view->toString($template, $params);
where $template is an string with the volt template content and $params an array to use to render the template
Thanks in advance
@EcLaboratory This particular change is for the
If you want a specific template to be parsed and returned, you can use the