ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
DomainService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Export\HTML;
22 
29 
31 {
32  protected static array $instance = [];
33 
34  public function __construct(
35  protected DataService $data,
36  protected RepoService $repo,
37  protected InternalDomainService $domain
38  ) {
39  }
40 
41  public function collector(
42  int $obj_id,
43  string $type = ""
44  ): ExportCollector {
45  return new ExportCollector(
46  $this->data,
47  $this->repo->exportFile(),
48  $obj_id,
49  $type
50  );
51  }
52 
53  public function fileManager(
55  return self::$instance["file_manager"] ??= new ExportFileManager(
56  $this->data,
57  $this->repo->exportFile()
58  );
59  }
60 
61 }
collector(int $obj_id, string $type="")
__construct(protected DataService $data, protected RepoService $repo, protected InternalDomainService $domain)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...