ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.InternalDomainService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Taxonomy;
22 
27 
29 {
31 
34 
35  public function __construct(
37  InternalRepoService $repo_service,
38  InternalDataService $data_service
39  ) {
40  $this->repo_service = $repo_service;
41  $this->data_service = $data_service;
42  $this->initDomainServices($DIC);
43  }
44 
45  public function settings(int $rep_obj_id): SettingsManager
46  {
47  return new SettingsManager($rep_obj_id);
48  }
49 
50  public function usage(): UsageManager
51  {
52  return new UsageManager(
53  $this->repo_service->usage()
54  );
55  }
56 }
initDomainServices(\ILIAS\DI\Container $DIC)
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:35
global $DIC
Definition: shib_login.php:22
__construct(Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)