kartik\builder\Form::endTag PHP Method

endTag() protected method

Ends a tag markup based on orientation.
protected endTag ( string $tag, boolean $skip = false ) : string
$tag string the HTML tag
$skip boolean whether to skip the tag generation
return string
    protected function endTag($tag, $skip = false)
    {
        if ($this->_orientation !== ActiveForm::TYPE_INLINE && !$skip) {
            return Html::endTag($tag) . "\n";
        }
        return '';
    }