예제 #1
0
 /**
  * Discards all unsaved changes and clears all related caches.
  */
 public function clear()
 {
     $this->clearCache();
     $this->clearConfigurableCache();
     $this->modelManager->clearCache();
     $this->getEntityManager()->clear();
 }
예제 #2
0
 /**
  * Clears entity config model cache.
  */
 public function clearModelCache()
 {
     $this->modelManager->clearCache();
     $this->cache->deleteAllConfigurable(true);
     $this->cache->deleteAllConfigs(true);
 }
예제 #3
0
 /**
  * Clears entity config model cache.
  */
 public function clearModelCache()
 {
     $this->modelManager->clearCache();
 }