ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.InternalGUIService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\SurveyQuestionPool;
22 
25 
27 {
29 
30  protected static array $instance = [];
31 
32  public function __construct(
34  protected InternalDataService $data_service,
35  protected InternalDomainService $domain_service
36  ) {
37  $this->initGUIServices($DIC);
38  }
39 
40  public function editing(): Editing\GUIService
41  {
42  return self::$instance["editing"] ??= new Editing\GUIService(
43  $this,
44  $this->domain_service
45  );
46  }
47 
48  public function settings(
49  ): Settings\GUIService {
50  return self::$instance["settings"] ??= new Settings\GUIService(
51  $this->data_service,
52  $this->domain_service,
53  $this
54  );
55  }
56 }
initGUIServices(\ILIAS\DI\Container $DIC)
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:35
global $DIC
Definition: shib_login.php:22
Survey question pool internal data service.
__construct(Container $DIC, protected InternalDataService $data_service, protected InternalDomainService $domain_service)