public function renderTags() : string
    {
        $output = '';
        $vars   = ['{{name}}', '{{value}}'];
        foreach ($this->tags as $tag) {
            $name = $tag->name;

            if ($tag->prefixed) {
                $name = self::NAME_PREFIX.$name;
            }

            $output .= str_replace($vars, [$name, $tag->value], $this->template);
        }

        return $output;
    }
public function renderTags() : string
    {
        $output = '';
        $vars   = ['{{name}}', '{{value}}'];
        foreach ($this->tags as $tag) {
            $name = $tag->name;

            if ($tag->prefixed) {
                $name = self::NAME_PREFIX.$name;
            }

            $output .= str_replace($vars, [$name, $tag->value], $this->template);
        }

        return $output;
    }
public function renderTags ( ) : string { $ output = '' ; $ vars = [ '{{name}}' , '{{value}}' ] ; foreach ( $ this -> tags as $ tag ) { $ name = $ tag -> name ; if ( $ tag -> prefixed ) { $ name = self :: NAME_PREFIX . $ name ; } $ output .= str_replace ( $ vars , [ $ name , $ tag -> value ] , $ this -> template ) ; } return $ output ; }
Returns the Open Graph tags rendered as HTML

@return string
Returns the Open Graph tags rendered as HTML