protected function preRender(RequireTagInterface $tag)
    {
        if ($this->isNonExistentOptionalTag($tag)) {
            return '';
        }

        $output = $this->doRender($tag, $tag->getPath());
        $output .= $this->preRenderLocalized($tag);

        return $output;
    }
protected function preRender(RequireTagInterface $tag)
    {
        if ($this->isNonExistentOptionalTag($tag)) {
            return '';
        }

        $output = $this->doRender($tag, $tag->getPath());
        $output .= $this->preRenderLocalized($tag);

        return $output;
    }
protected function preRender ( RequireTagInterface $ tag ) { if ( $ this -> isNonExistentOptionalTag ( $ tag ) ) { return '' ; } $ output = $ this -> doRender ( $ tag , $ tag -> getPath ( ) ) ; $ output .= $ this -> preRenderLocalized ( $ tag ) ; return $ output ; }
Prepare the render and do the render.

@param RequireTagInterface $tag The require template tag

@throws RequireTagRendererException When the asset in template tag is not managed by the Webpack Require Asset Manager

@return string The output render
Prepare the render and do the render .