src/Framework/Form/AspiForm.php
public function setLegend($legend)
    {
        if (isset($this->fieldsets[$this->current])) {
            $this->fieldsets[$this->current]->setLegend($legend);
        }
        return $this;
    }
public function setLegend($legend)
    {
        if (isset($this->fieldsets[$this->current])) {
            $this->fieldsets[$this->current]->setLegend($legend);
        }
        return $this;
    }
public function setLegend ( $ legend ) { if ( isset ( $ this -> fieldsets [ $ this -> current ] ) ) { $ this -> fieldsets [ $ this -> current ] -> setLegend ( $ legend ) ; } return $ this ; }
Method to set the legend of the current fieldset

@param  string $legend
@return Form
Method to set the legend of the current fieldset