Example #1
0
 /**
  * Doctrine constructor.
  * @param Caching\IStorage $storage
  * @param Connection $connection
  */
 public function __construct(Caching\IStorage $storage, Connection $connection)
 {
     parent::__construct($storage);
     $this->connection = $connection;
 }
Example #2
0
 /**
  * Doctrine constructor.
  * @param Caching\IStorage $storage
  * @param EntityManager $entityManager
  */
 public function __construct(Caching\IStorage $storage, EntityManager $entityManager)
 {
     parent::__construct($storage);
     $this->entityManager = $entityManager;
 }