src/Framework/Form/Fieldset.php
public function getAllFields()
    {
        $fields = [];
        foreach ($this->fields as $group) {
            foreach ($group as $field) {
                $fields[$field->getName()] = $field;
            }
        }
        return $fields;
    }
public function getAllFields()
    {
        $fields = [];
        foreach ($this->fields as $group) {
            foreach ($group as $field) {
                $fields[$field->getName()] = $field;
            }
        }
        return $fields;
    }
public function getAllFields ( ) { $ fields = [ ] ; foreach ( $ this -> fields as $ group ) { foreach ( $ group as $ field ) { $ fields [ $ field -> getName ( ) ] = $ field ; } } return $ fields ; }
Method to get all field elements

@return array
Method to get all field elements