/**
  * Gets the repository for a class.
  *
  * @param string $className
  *
  * @return \Doctrine\Common\Persistence\ObjectRepository
  */
 public function getRepository($className)
 {
     return $this->objectRepositoryFactory->getRepository($className);
 }
 /**
  * @param string $className
  * @param array  $data
  *
  * @return array $identifier
  */
 private function extractIdentifierFromData($className, array $data)
 {
     return $this->objectRepositoryFactory->getRepository($className)->getObjectIdentifierFromData($data);
 }