ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.InternalDomainService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Taxonomy;
22
27
29{
30 use GlobalDICDomainServices;
31
34
35 public function __construct(
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}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
__construct(Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)
initDomainServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: shib_login.php:26