40 public function __construct(
private StorableResource $resource,
private StreamAccess $stream_access)
43 $this->archives = $DIC->archives();
46 public function getZIP(?UnzipOptions $unzip_options =
null): Unzip
48 $revision = $this->getRevision();
49 $revision = $this->stream_access->populateRevision($revision);
50 $zip_stream = $revision->maybeStreamResolver()?->getStream();
52 return $this->archives->unzip($zip_stream, $unzip_options);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getZIP(?UnzipOptions $unzip_options=null)
__construct(private StorableResource $resource, private StreamAccess $stream_access)
DownloadConsumer constructor.