public function clearImportDirectory(): void
    {
        $tmp_files = glob($this->config->getImportDir().DIRECTORY_SEPARATOR.'*.*');
        if (is_array($tmp_files)) {
            foreach ($tmp_files as $v) {
                unlink($v);
            }
        }
    }
public function clearImportDirectory(): void
    {
        $tmp_files = glob($this->config->getImportDir().DIRECTORY_SEPARATOR.'*.*');
        if (is_array($tmp_files)) {
            foreach ($tmp_files as $v) {
                unlink($v);
            }
        }
    }
public function clearImportDirectory ( ) : void { $ tmp_files = glob ( $ this -> config -> getImportDir ( ) . DIRECTORY_SEPARATOR . '*.*' ) ; if ( is_array ( $ tmp_files ) ) { foreach ( $ tmp_files as $ v ) { unlink ( $ v ) ; } } }
Delete all files from tmp directory.
Delete all files from tmp directory .