ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.Service.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Help;
22
24
26{
27 protected static ?InternalService $internal_service = null;
28 protected Container $DIC;
29
30 public function __construct(Container $DIC)
31 {
32 $this->DIC = $DIC;
33 }
34
38 public function internal(): InternalService
39 {
40 if (is_null(self::$internal_service)) {
41 self::$internal_service = new InternalService($this->DIC);
42 }
44 }
45}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
static InternalService $internal_service
__construct(Container $DIC)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...