src/Form/Form/Form.php
public function getValues()
    {

        $values = [];
        foreach($this->getElements() as $name => $e) {
            /** @var $e \FrenchFrogs\Form\Element\Element */
            if ($e->isDiscreet()) {continue;}
            $values[$name] = $e->getValue();
        }

        return $values;
    }
public function getValues()
    {

        $values = [];
        foreach($this->getElements() as $name => $e) {
            /** @var $e \FrenchFrogs\Form\Element\Element */
            if ($e->isDiscreet()) {continue;}
            $values[$name] = $e->getValue();
        }

        return $values;
    }
public function getValues ( ) { $ values = [ ] ; foreach ( $ this -> getElements ( ) as $ name => $ e ) { /** @var $e \FrenchFrogs\Form\Element\Element */ if ( $ e -> isDiscreet ( ) ) { continue ; } $ values [ $ name ] = $ e -> getValue ( ) ; } return $ values ; }
Return all values from all elements

@return array
Return all values from all elements