Example #1
0
 public function __construct(OutletSession $session)
 {
     $this->session = $session;
     $this->config = $session->getConfig();
     $this->repository = $session->getRepository();
     $this->identityMap = $session->getIdentityMap();
 }
Example #2
0
 public function __construct(OutletSession $session)
 {
     $this->session = $session;
     $this->connection = $session->getConnection();
     $this->config = $session->getConfig();
     $this->queryParser = $session->getQueryParser();
 }
Example #3
0
 public function __construct(OutletSession $session)
 {
     $this->session = $session;
     $this->config = $session->getConfig();
     $this->uow = $session->getUnitOfWork();
 }