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

        return $this->_repository;
    }