public function closeTag()
    {
        $result = '</label>';
        if ($this->element->hasAttribute('required') && $this->element->getAttribute('required')) {
            $result = sprintf('<span class="required-mark">*</span> %s', $result);
        }

        return $result;
    }
public function closeTag()
    {
        $result = '</label>';
        if ($this->element->hasAttribute('required') && $this->element->getAttribute('required')) {
            $result = sprintf('<span class="required-mark">*</span> %s', $result);
        }

        return $result;
    }
public function closeTag ( ) { $ result = '</label>' ; if ( $ this -> element -> hasAttribute ( 'required' ) && $ this -> element -> getAttribute ( 'required' ) ) { $ result = sprintf ( '<span class="required-mark">*</span> %s' , $ result ) ; } return $ result ; }
Return a closing label tag

@return string
Return a closing label tag