public function getRepositoryEntities($repository)
    {
        if (!isset($this->_repository_entities[$repository])) {
            $this->_repository_entities[$repository] =
                $this->getService('anahita:domain.entityset', array('repository' => $this));
        }

        return $this->_repository_entities[$repository];
    }
public function getRepositoryEntities($repository)
    {
        if (!isset($this->_repository_entities[$repository])) {
            $this->_repository_entities[$repository] =
                $this->getService('anahita:domain.entityset', array('repository' => $this));
        }

        return $this->_repository_entities[$repository];
    }
public function getRepositoryEntities ( $ repository ) { if ( ! isset ( $ this -> _repository_entities [ $ repository ] ) ) { $ this -> _repository_entities [ $ repository ] = $ this -> getService ( 'anahita:domain.entityset' , array ( 'repository' => $ this ) ) ; } return $ this -> _repository_entities [ $ repository ] ; }
Returns a collection of entityset of a repository.

@param AnDomainRepositoryAbstract $repository The repositry whose entities must return

@return AnDomainEntityset
Returns a collection of entityset of a repository .