thrownewRuntimeException(sprintf("Unable to create the %s directory (%s)\n", 'Productexport', $cacheDir)); } }elseif(!is_writable($cacheDir)){ thrownewRuntimeException(sprintf("Unable to write in the %s directory (%s)\n", 'Productexport', $cacheDir)); }