src/Framework/Form/AspiForm.php
public function getFields()
    {
        $fields = [];
        foreach ($this->fieldsets as $fieldset) {
            $fields = array_merge($fields, $fieldset->getAllFields());
        }
        return $fields;
    }
public function getFields()
    {
        $fields = [];
        foreach ($this->fieldsets as $fieldset) {
            $fields = array_merge($fields, $fieldset->getAllFields());
        }
        return $fields;
    }
public function getFields ( ) { $ fields = [ ] ; foreach ( $ this -> fieldsets as $ fieldset ) { $ fields = array_merge ( $ fields , $ fieldset -> getAllFields ( ) ) ; } return $ fields ; }
Method to get field element objects

@return array
Method to get field element objects