ILIAS
trunk Revision v12.0_alpha-16-g3e876e53c80
◀ ilDoc Overview
class.InternalRepoService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Help\GuidedTour
;
22
23
use
ILIAS\Help\GuidedTour\Step\StepDBRepository
;
24
use
ILIAS\Help\GuidedTour\Settings\SettingsDBRepository
;
25
use
ILIAS\Help\GuidedTour\UserFinished\UserFinishedDBRepository
;
26
27
class
InternalRepoService
28
{
29
protected
static
array
$instance
= [];
30
public
function
__construct
(
31
protected
InternalDataService
$data
,
32
protected
\
ilDBInterface
$db
33
) {
34
}
35
36
public
function
step
():
StepDBRepository
37
{
38
return
self::$instance[
"step"
] ??=
new
StepDBRepository
($this->db, $this->data);
39
}
40
41
public
function
settings
():
SettingsDBRepository
42
{
43
return
self::$instance[
"settings"
] ??=
new
SettingsDBRepository
($this->db, $this->data);
44
}
45
46
public
function
userFinished
():
UserFinishedDBRepository
47
{
48
return
self::$instance[
"user_finished"
] ??=
new
UserFinishedDBRepository
($this->db);
49
}
50
}
ILIAS\Help\GuidedTour\InternalDataService
Definition:
class.InternalDataService.php:29
ILIAS\Help\GuidedTour\InternalRepoService
Definition:
class.InternalRepoService.php:28
ILIAS\Help\GuidedTour\InternalRepoService\userFinished
userFinished()
Definition:
class.InternalRepoService.php:46
ILIAS\Help\GuidedTour\InternalRepoService\step
step()
Definition:
class.InternalRepoService.php:36
ILIAS\Help\GuidedTour\InternalRepoService\settings
settings()
Definition:
class.InternalRepoService.php:41
ILIAS\Help\GuidedTour\InternalRepoService\$instance
static array $instance
Definition:
class.InternalRepoService.php:29
ILIAS\Help\GuidedTour\InternalRepoService\__construct
__construct(protected InternalDataService $data, protected \ilDBInterface $db)
Definition:
class.InternalRepoService.php:30
ILIAS\Help\GuidedTour\Settings\SettingsDBRepository
Definition:
SettingsDBRepository.php:27
ILIAS\Help\GuidedTour\Step\StepDBRepository
Definition:
StepDBRepository.php:27
ILIAS\Help\GuidedTour\UserFinished\UserFinishedDBRepository
Definition:
UserFinishedDBRepository.php:26
ILIAS\$db
$db
Definition:
class.ilias.php:60
ilDBInterface
Interface ilDBInterface.
Definition:
interface.ilDBInterface.php:30
$data
$data
Definition:
ltiregistration.php:29
ILIAS\Help\GuidedTour
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
components
ILIAS
Help
GuidedTour
Service
class.InternalRepoService.php
Generated on Sun Nov 2 2025 23:01:46 for ILIAS by
1.9.4 (using
Doxyfile
)