public function __construct(EntityManager $em) { $this->em = $em; $this->entityNamespace = ''; $this->entityDefs = array(); $this->singletons = array(); $this->persist = false; }