src/Helpers/FormRenderer.php
protected function getWrapperEnd($type)
    {
        $tag = "{$type}WrapperTag";
        $output = '';
        if (!empty($this->$tag)) {
            $output .= $this->getCloseTag($this->$tag);
        }
        return $output;
    }
protected function getWrapperEnd($type)
    {
        $tag = "{$type}WrapperTag";
        $output = '';
        if (!empty($this->$tag)) {
            $output .= $this->getCloseTag($this->$tag);
        }
        return $output;
    }
protected function getWrapperEnd ( $ type ) { $ tag = "{$type}WrapperTag" ; $ output = '' ; if ( ! empty ( $ this -> $ tag ) ) { $ output .= $ this -> getCloseTag ( $ this -> $ tag ) ; } return $ output ; }
Returns the closing tag for a wrapper element.

@param string $type

@return string
Returns the closing tag for a wrapper element .