19 declare(strict_types=1);
    45         $unzip = $this->archives->unzip(
    47             $this->archives->unzipOptions()
    48                 ->withZipOutputPath(dirname($filepath))
    49                 ->withOverwrite(
false)
    50                 ->withDirectoryHandling(ZipDirectoryHandling::KEEP_STRUCTURE)
    52         if (!$unzip->extract()) {
    59         $this->legacy_archives->zip(
 
__construct(Archives $archives, LegacyArchives $legacy_archives)
 
static ofResource($resource)
Wraps an already created resource with the stream abstraction. 
 
unzipFile(string $filepath)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
zipDirectoryToFile(string $directory, string $zip_file)
 
LegacyArchives $legacy_archives