ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
DomainService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 
26 
28 {
30  protected Archives $archives;
31 
32  public function __construct(
33  Archives $archives,
34  LegacyArchives $legacy_archives
35  ) {
36  $this->archives = $archives;
37  $this->legacy_archives = $legacy_archives;
38  }
39 
40  public function zip(): ZipAdapter
41  {
42  return new ZipAdapter(
43  $this->archives,
44  $this->legacy_archives
45  );
46  }
47 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Archives $archives, LegacyArchives $legacy_archives)