Neos\FluidAdaptor\ViewHelpers\FlashMessagesViewHelper::renderFromTemplate PHP Метод

renderFromTemplate() защищенный Метод

Defer the rendering of Flash Messages to the template. In this case, the flash messages are stored in the template inside the variable specified in "as".
protected renderFromTemplate ( array $flashMessages, string $as ) : string
$flashMessages array
$as string
Результат string
    protected function renderFromTemplate(array $flashMessages, $as)
    {
        $templateVariableContainer = $this->renderingContext->getVariableProvider();
        $templateVariableContainer->add($as, $flashMessages);
        $content = $this->renderChildren();
        $templateVariableContainer->remove($as);
        return $content;
    }