public function getValidator()
    {
        if (!$this->_validator instanceof AnDomainValidatorAbstract) {
            if (!$this->_validator instanceof AnServiceIdentifier) {
                $this->setValidator($this->_validator);
            }

            $config = array(
                'description' => $this->_repository->getDescription(),
            );

            $this->_validator = $this->getService($this->_validator, $config);
        }

        return $this->_validator;
    }
public function getValidator()
    {
        if (!$this->_validator instanceof AnDomainValidatorAbstract) {
            if (!$this->_validator instanceof AnServiceIdentifier) {
                $this->setValidator($this->_validator);
            }

            $config = array(
                'description' => $this->_repository->getDescription(),
            );

            $this->_validator = $this->getService($this->_validator, $config);
        }

        return $this->_validator;
    }
public function getValidator ( ) { if ( ! $ this -> _validator instanceof AnDomainValidatorAbstract ) { if ( ! $ this -> _validator instanceof AnServiceIdentifier ) { $ this -> setValidator ( $ this -> _validator ) ; } $ config = array ( 'description' => $ this -> _repository -> getDescription ( ) , ) ; $ this -> _validator = $ this -> getService ( $ this -> _validator , $ config ) ; } return $ this -> _validator ; }
Return the repository validator.

@return AnDomainValidatorAbstract
Return the repository validator .