ILIAS  trunk Revision v13.0_alpha-52-g21c366bbdd4
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;
30
32{
33 use GlobalDICDomainServices;
34 protected static array $instance = [];
35 protected Container $dic;
36
37 public function __construct(
41 ) {
42 $this->initDomainServices($DIC);
43 $this->dic = $DIC;
44 }
45
47 {
48 return self::$instance["settings"] ??= new SettingsManager(
49 $this->data_service,
50 $this->repo_service,
51 $this
52 );
53 }
54
55 public function notes(): \ILIAS\Notes\DomainService
56 {
57 return $this->dic->notes()->domain();
58 }
59
60 public function portfolioPageRetrieval(int $portfolio_id): PortfolioPageRetrieval
61 {
62 return new PortfolioPageRetrieval($portfolio_id);
63 }
64
66 {
69 );
70 }
71}
Repository internal data service.
Repository internal repo service.
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:38
__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