src/FormObject/Support/LegacyFormObject/Validation/AutoValidatorBroker.php
public function getValidator()
    {
        if (!$this->validator) {
            $this->setValidator(
                $this->validatorFactory->createValidator($this->form)
            );
        }

        return $this->validator;
    }
public function getValidator()
    {
        if (!$this->validator) {
            $this->setValidator(
                $this->validatorFactory->createValidator($this->form)
            );
        }

        return $this->validator;
    }
public function getValidator ( ) { if ( ! $ this -> validator ) { $ this -> setValidator ( $ this -> validatorFactory -> createValidator ( $ this -> form ) ) ; } return $ this -> validator ; }
Return the setted validator, whatever validator it is

@return mixed
Return the setted validator whatever validator it is