public function closeTag($tag = null)
    {
        if ($tag === null) {
            $tag = $this->tag;
        }

        $this->append(sprintf('</%s>', $tag));
        return $this;
    }
public function closeTag($tag = null)
    {
        if ($tag === null) {
            $tag = $this->tag;
        }

        $this->append(sprintf('</%s>', $tag));
        return $this;
    }
public function closeTag ( $ tag = null ) { if ( $ tag === null ) { $ tag = $ this -> tag ; } $ this -> append ( sprintf ( '</%s>' , $ tag ) ) ; return $ this ; }
Closes opened tag

@param string $tag
@return \Krystal\Form\NodeElement
Closes opened tag