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

            $this->_repository = AnDomain::getRepository($this->_repository);
        }

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

            $this->_repository = AnDomain::getRepository($this->_repository);
        }

        return $this->_repository;
    }
public function getRepository ( ) { if ( ! $ this -> _repository instanceof AnDomainRepositoryAbstract ) { if ( ! $ this -> _repository instanceof AnServiceIdentifier ) { $ this -> setRepository ( $ this -> _repository ) ; } $ this -> _repository = AnDomain :: getRepository ( $ this -> _repository ) ; } return $ this -> _repository ; }
Return the controller repository.

@return AnDomainRepositoryAbstract
Return the controller repository .