src/Forms/Validator.php
public function validate()
    {
        $this->resetResult();
        if ($this->getEnabled()) {
            $this->php($this->form->getData());
        }
        return $this->result;
    }
public function validate()
    {
        $this->resetResult();
        if ($this->getEnabled()) {
            $this->php($this->form->getData());
        }
        return $this->result;
    }
public function validate ( ) { $ this -> resetResult ( ) ; if ( $ this -> getEnabled ( ) ) { $ this -> php ( $ this -> form -> getData ( ) ) ; } return $ this -> result ; }
Returns any errors there may be.

@return ValidationResult
Returns any errors there may be .