public function getRepository()
    {
        if (!$this->_repository instanceof AnDomainRepositoryAbstract) {
            $this->_repository = $this->getService($this->_repository);
        }

        return $this->_repository;
    }
public function getRepository()
    {
        if (!$this->_repository instanceof AnDomainRepositoryAbstract) {
            $this->_repository = $this->getService($this->_repository);
        }

        return $this->_repository;
    }
public function getRepository ( ) { if ( ! $ this -> _repository instanceof AnDomainRepositoryAbstract ) { $ this -> _repository = $ this -> getService ( $ this -> _repository ) ; } return $ this -> _repository ; }
Get the entity repository.

@return AnDomainRepositoryAbstract
Get the entity repository .