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\Portfolio;
22
24//use ILIAS\Repository\Clipboard\ClipboardManager;
27
29{
30 use GlobalDICDomainServices;
31 protected static array $instance = [];
32 protected Container $dic;
33
34 public function __construct(
38 ) {
39 $this->initDomainServices($DIC);
40 $this->dic = $DIC;
41 }
42
44 {
45 return self::$instance["settings"] ??= new SettingsManager(
46 $this->data_service,
47 $this->repo_service,
48 $this
49 );
50 }
51
52 public function notes(): \ILIAS\Notes\DomainService
53 {
54 return $this->dic->notes()->domain();
55 }
56}
Repository internal data service.
Repository internal repo service.
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
__construct(Container $DIC, protected InternalRepoService $repo_service, protected InternalDataService $data_service)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
initDomainServices(\ILIAS\DI\Container $DIC)
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
global $DIC
Definition: shib_login.php:26