public function parse(string $buffer, string $templateName): string
    {
        if ($this->postRenderFilter->supports($templateName)) {
            $buffer = $this->postRenderFilter->filter($buffer, $templateName);
        }

        return $buffer;
    }
public function parse(string $buffer, string $templateName): string
    {
        if ($this->postRenderFilter->supports($templateName)) {
            $buffer = $this->postRenderFilter->filter($buffer, $templateName);
        }

        return $buffer;
    }
public function parse ( string $ buffer , string $ templateName ) : string { if ( $ this -> postRenderFilter -> supports ( $ templateName ) ) { $ buffer = $ this -> postRenderFilter -> filter ( $ buffer , $ templateName ) ; } return $ buffer ; }
Parse current template.

@param string $buffer       Parsed template.
@param string $templateName Name of the template.

@return string
Parse current template .