src/Framework/Form/AspiForm.php
public function getLegend()
    {
        return (isset($this->fieldsets[$this->current])) ?
            $this->fieldsets[$this->current]->getLegend() : null;
    }
public function getLegend()
    {
        return (isset($this->fieldsets[$this->current])) ?
            $this->fieldsets[$this->current]->getLegend() : null;
    }
public function getLegend ( ) { return ( isset ( $ this -> fieldsets [ $ this -> current ] ) ) ? $ this -> fieldsets [ $ this -> current ] -> getLegend ( ) : null ; }
Method to get the legend of the current fieldset

@return string
Method to get the legend of the current fieldset