getManager() публичный Метод

Returns the manager the UnitOfWork is attached to
public getManager ( ) : Manager
Результат Manager
Пример #1
0
 /**
  * @param UnitOfWork $uow
  */
 public function __construct(UnitOfWork $uow)
 {
     $manager = $uow->getManager();
     $this->proxyFactory = $manager->getProxyFactory();
     $this->metadataFactory = $manager->getMetadataFactory();
     $this->inflector = $manager->getInflector();
     $this->binding = $manager->getBinding();
     $this->uow = $uow;
     $this->clusterMap = new ClusterMap($this->binding, $manager->getCache());
     $this->caster = new Caster($this, $this->inflector);
     $this->enableMismatchesTolerance($manager->getConfiguration()->getMismatchesTolerance());
 }