Exemple #1
0
 public function cacheClear(CacheEvent $event)
 {
     // clear cache on thelia.cache service
     $this->adapter->clear();
     $dir = $event->getDir();
     $fs = new Filesystem();
     $fs->remove($dir);
 }
Exemple #2
0
 public function cacheClear(CacheEvent $event)
 {
     $dir = $event->getDir();
     $fs = new Filesystem();
     $fs->remove($dir);
 }