public function clearCacheCommand($parameters)
    {
        if (in_array($parameters['cacheCmd'], ['all', 'system'])) {
            $files = $this->getFilesInPath(self::GENERATED_FILES_PATH . '*');

            foreach ($files as $file) {
                $this->clearFile($file);
            }
        }
    }
public function clearCacheCommand($parameters)
    {
        if (in_array($parameters['cacheCmd'], ['all', 'system'])) {
            $files = $this->getFilesInPath(self::GENERATED_FILES_PATH . '*');

            foreach ($files as $file) {
                $this->clearFile($file);
            }
        }
    }
public function clearCacheCommand ( $ parameters ) { if ( in_array ( $ parameters [ 'cacheCmd' ] , [ 'all' , 'system' ] ) ) { $ files = $ this -> getFilesInPath ( self :: GENERATED_FILES_PATH . '*' ) ; foreach ( $ files as $ file ) { $ this -> clearFile ( $ file ) ; } } }
Function called when clearing TYPO3 caches. It will remove the temporary
asset files created by FormZ.

@param array $parameters
Function called when clearing TYPO3 caches . It will remove the temporary asset files created by FormZ .