Creates and caches a map of classes and clusters in the database, which makes it possible to tell the proxy class of an entity just by it's rid.
Author: Tamás Millián (tamas.millian@gmail.com)
Ejemplo n.º 1
0
 /**
  * @expectedException \Doctrine\ODM\OrientDB\Mapper\MappingException
  */
 public function testIdentifyClassNotFound()
 {
     $binding = $this->createBinding();
     $cache = $this->createCache(true);
     $clusterMap = new ClusterMap($binding, $cache);
     $clusterMap->identifyClass(new Rid('10:0'));
 }