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