ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\Blog\InternalRepoService Class Reference
+ Collaboration diagram for ILIAS\Blog\InternalRepoService:

Public Member Functions

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

Static Protected Attributes

static array $instance = []
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

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

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

33  {
34  }

Member Function Documentation

◆ posting()

ILIAS\Blog\InternalRepoService::posting ( )

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

44  : PostingDBRepository
45  {
46  return self::$instance["posting"] ??= new PostingDBRepository(
47  $this->db,
48  $this->data
49  );
50  }

◆ settings()

ILIAS\Blog\InternalRepoService::settings ( )

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

36  : SettingsDBRepository
37  {
38  return self::$instance["settings"] ??= new SettingsDBRepository(
39  $this->db,
40  $this->data
41  );
42  }

Field Documentation

◆ $instance

array ILIAS\Blog\InternalRepoService::$instance = []
staticprotected

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


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