ILIAS  trunk Revision v12.0_alpha-16-g3e876e53c80
ILIAS\Help\GuidedTour\InternalRepoService Class Reference
+ Collaboration diagram for ILIAS\Help\GuidedTour\InternalRepoService:

Public Member Functions

 __construct (protected InternalDataService $data, protected \ilDBInterface $db)
 
 step ()
 
 settings ()
 
 userFinished ()
 

Static Protected Attributes

static array $instance = []
 

Detailed Description

Definition at line 27 of file class.InternalRepoService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Help\GuidedTour\InternalRepoService::__construct ( protected InternalDataService  $data,
protected \ilDBInterface  $db 
)

Definition at line 30 of file class.InternalRepoService.php.

33 {
34 }

Member Function Documentation

◆ settings()

ILIAS\Help\GuidedTour\InternalRepoService::settings ( )

Definition at line 41 of file class.InternalRepoService.php.

41 : SettingsDBRepository
42 {
43 return self::$instance["settings"] ??= new SettingsDBRepository($this->db, $this->data);
44 }

◆ step()

ILIAS\Help\GuidedTour\InternalRepoService::step ( )

Definition at line 36 of file class.InternalRepoService.php.

36 : StepDBRepository
37 {
38 return self::$instance["step"] ??= new StepDBRepository($this->db, $this->data);
39 }

◆ userFinished()

ILIAS\Help\GuidedTour\InternalRepoService::userFinished ( )

Definition at line 46 of file class.InternalRepoService.php.

46 : UserFinishedDBRepository
47 {
48 return self::$instance["user_finished"] ??= new UserFinishedDBRepository($this->db);
49 }

Field Documentation

◆ $instance

array ILIAS\Help\GuidedTour\InternalRepoService::$instance = []
staticprotected

Definition at line 29 of file class.InternalRepoService.php.


The documentation for this class was generated from the following file: