public function clear($cacheDir)
    {
        if (is_dir($this->legacyRootDir.'/innomatic/setup')) {
            return;
        }

        $this->legacyKernel->runCallback(
            function () {
                $gc = new CacheGarbageCollector();
                $gc->emptyCache();
            }
        );
    }
public function clear($cacheDir)
    {
        if (is_dir($this->legacyRootDir.'/innomatic/setup')) {
            return;
        }

        $this->legacyKernel->runCallback(
            function () {
                $gc = new CacheGarbageCollector();
                $gc->emptyCache();
            }
        );
    }
public function clear ( $ cacheDir ) { if ( is_dir ( $ this -> legacyRootDir . '/innomatic/setup' ) ) { return ; } $ this -> legacyKernel -> runCallback ( function ( ) { $ gc = new CacheGarbageCollector ( ) ; $ gc -> emptyCache ( ) ; } ) ; }
Clears Innomatic legacy cache.

@param string $cacheDir The cache directory, not used by Innomatic legacy.
Clears Innomatic legacy cache .