ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.InternalRepoService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\MediaCast;
22
24
26{
27 protected static array $instance = [];
28
29 public function __construct(
30 protected InternalDataService $data,
31 protected \ilDBInterface $db
32 ) {
33 }
34
35 public function settings(): SettingsDBRepository
36 {
37 return self::$instance["settings"] ??= new SettingsDBRepository(
38 $this->db,
39 $this->data
40 );
41 }
42
43}
__construct(protected InternalDataService $data, protected \ilDBInterface $db)
Interface ilDBInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...