protected function getIdentifierRepository($className)
    {
        $class = $this->getClassMetadata($className);

        return $this->pool->getManager($class->getManagerIdentifier())->getRepository($class->getFieldMapping($class->getManagerIdentifier())->getName());
    }
protected function getIdentifierRepository($className)
    {
        $class = $this->getClassMetadata($className);

        return $this->pool->getManager($class->getManagerIdentifier())->getRepository($class->getFieldMapping($class->getManagerIdentifier())->getName());
    }
protected function getIdentifierRepository ( $ className ) { $ class = $ this -> getClassMetadata ( $ className ) ; return $ this -> pool -> getManager ( $ class -> getManagerIdentifier ( ) ) -> getRepository ( $ class -> getFieldMapping ( $ class -> getManagerIdentifier ( ) ) -> getName ( ) ) ; }
Returns repository model given by identifier.

@param string $className

@return mixed
Returns repository model given by identifier .