예제 #1
0
 function fromClass($className)
 {
     if (!isset($this->metas[$className])) {
         $this->metas[$className] = EntityMeta::fromClass($this->reader, $className, $this);
     }
     return $this->metas[$className];
 }
예제 #2
0
 function __construct(EntityManager $entityManager, EntityMeta $meta)
 {
     $this->entityManager = $entityManager;
     $this->class = $meta->getName();
     $this->meta = $meta;
 }