src/Framework/Form/AspiForm.php
public function prepareForView()
    {
        $formData = [];
        foreach ($this->fieldsets as $fieldset) {
            $formData = array_merge($formData, $fieldset->prepareForView());
        }
        return $formData;
    }
public function prepareForView()
    {
        $formData = [];
        foreach ($this->fieldsets as $fieldset) {
            $formData = array_merge($formData, $fieldset->prepareForView());
        }
        return $formData;
    }
public function prepareForView ( ) { $ formData = [ ] ; foreach ( $ this -> fieldsets as $ fieldset ) { $ formData = array_merge ( $ formData , $ fieldset -> prepareForView ( ) ) ; } return $ formData ; }
Prepare form object for rendering with a view

@return array
Prepare form object for rendering with a view