src/Utils/ValueArray.php
public function getValidValue()
    {
        $values = [];
        foreach($this->values as $key => $value) {
            if ($this->isValidValue($value)) {
                $values[$key] = $value->getValidValue();
            }
        }
        return $values;
    }
public function getValidValue()
    {
        $values = [];
        foreach($this->values as $key => $value) {
            if ($this->isValidValue($value)) {
                $values[$key] = $value->getValidValue();
            }
        }
        return $values;
    }
public function getValidValue ( ) { $ values = [ ] ; foreach ( $ this -> values as $ key => $ value ) { if ( $ this -> isValidValue ( $ value ) ) { $ values [ $ key ] = $ value -> getValidValue ( ) ; } } return $ values ; }
return the validated value.
returns false if validation fails.

@return bool|mixed
return the validated value . returns false if validation fails .