public function closeTag($tag)
    {
        if (!in_array($tag, $this->voidTags)) {
            return replace_variables($this->closeTagPattern, compact('tag'));
        }

        return '';
    }
public function closeTag($tag)
    {
        if (!in_array($tag, $this->voidTags)) {
            return replace_variables($this->closeTagPattern, compact('tag'));
        }

        return '';
    }
public function closeTag ( $ tag ) { if ( ! in_array ( $ tag , $ this -> voidTags ) ) { return replace_variables ( $ this -> closeTagPattern , compact ( 'tag' ) ) ; } return '' ; }
Close an HTML tag.

@param $tag

@return string
Close an HTML tag .