Esempio n. 1
0
 /**
  * Setup doctrine cache
  *
  * @return void
  */
 protected function setDoctrineCache()
 {
     static::$cacheDriver = new \XLite\Core\Cache();
     $driver = static::$cacheDriver->getDriver();
     $this->configuration->setMetadataCacheImpl($driver);
     $this->configuration->setQueryCacheImpl($driver);
     $this->configuration->setResultCacheImpl($driver);
 }