public function purge()
    {
        $fileSystem = new Filesystem();
        $fileSystem->remove($this->cacheDir);

        $this->logger->log(
            LogLevel::INFO,
            'Purged the MetaModels cache',
            ['contao' => new ContaoContext(__METHOD__, TL_CRON)]
        );
    }
public function purge()
    {
        $fileSystem = new Filesystem();
        $fileSystem->remove($this->cacheDir);

        $this->logger->log(
            LogLevel::INFO,
            'Purged the MetaModels cache',
            ['contao' => new ContaoContext(__METHOD__, TL_CRON)]
        );
    }
public function purge ( ) { $ fileSystem = new Filesystem ( ) ; $ fileSystem -> remove ( $ this -> cacheDir ) ; $ this -> logger -> log ( LogLevel :: INFO , 'Purged the MetaModels cache' , [ 'contao' => new ContaoContext ( __METHOD__ , TL_CRON ) ] ) ; }
Purge the file cache.

@return void

@SuppressWarnings(PHPMD.Superglobals)
@SuppressWarnings(PHPMD.CamelCaseVariableName)
Purge the file cache .