ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\MetaData\OERHarvester\Services\Services Class Reference
+ Collaboration diagram for ILIAS\MetaData\OERHarvester\Services\Services:

Public Member Functions

 __construct (GlobalContainer $dic)
 
 settings ()
 
 statusRepository ()
 

Protected Attributes

SettingsInterface $settings
 
StatusRepository $status_repository
 
GlobalContainer $dic
 

Detailed Description

Definition at line 29 of file Services.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\MetaData\OERHarvester\Services\Services::__construct ( GlobalContainer  $dic)

Definition at line 36 of file Services.php.

37 {
38 $this->dic = $dic;
39 }

References ILIAS\MetaData\OERHarvester\Services\Services\$dic.

Member Function Documentation

◆ settings()

ILIAS\MetaData\OERHarvester\Services\Services::settings ( )

Definition at line 41 of file Services.php.

41 : SettingsInterface
42 {
43 if (isset($this->settings)) {
44 return $this->settings;
45 }
46 return $this->settings = new Settings();
47 }

References ILIAS\MetaData\OERHarvester\Services\Services\$settings, and ILIAS\MetaData\OERHarvester\Services\Services\settings().

Referenced by ILIAS\MetaData\OERHarvester\Services\Services\settings().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ statusRepository()

ILIAS\MetaData\OERHarvester\Services\Services::statusRepository ( )

Definition at line 49 of file Services.php.

49 : StatusRepository
50 {
51 if (isset($this->status_repository)) {
53 }
54 return $this->status_repository = new DatabaseRepository($this->dic->database());
55 }

References ILIAS\MetaData\OERHarvester\Services\Services\$status_repository.

Field Documentation

◆ $dic

GlobalContainer ILIAS\MetaData\OERHarvester\Services\Services::$dic
protected

◆ $settings

SettingsInterface ILIAS\MetaData\OERHarvester\Services\Services::$settings
protected

Definition at line 31 of file Services.php.

Referenced by ILIAS\MetaData\OERHarvester\Services\Services\settings().

◆ $status_repository

StatusRepository ILIAS\MetaData\OERHarvester\Services\Services::$status_repository
protected

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