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