Garden\Validation::isValid PHP 메소드

isValid() 공개 메소드

Check whether or not the validation is free of errors.
public isValid ( ) : boolean
리턴 boolean Returns true if there are no errors, false otherwise.
    public function isValid()
    {
        return count($this->errors) === 0;
    }