ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.InternalRepoService.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Repository
;
22
23
use
ILIAS\Repository\Clipboard\ClipboardSessionRepository
;
24
use
ILIAS\Repository\Deletion\TreeDBRepo
;
25
26
class
InternalRepoService
27
{
28
protected
InternalDataService
$data
;
29
protected \ilDBInterface
$db
;
30
31
public
function
__construct
(
InternalDataService
$data, \
ilDBInterface
$db)
32
{
33
$this->data =
$data
;
34
$this->db =
$db
;
35
}
36
37
public
function
clipboard
(): ClipboardSessionRepository
38
{
39
return
new
ClipboardSessionRepository();
40
}
41
42
public
function
tree
(): TreeDBRepo
43
{
44
return
new
TreeDBRepo(
45
$this->db
46
);
47
}
48
}
ILIAS\Repository\InternalRepoService\__construct
__construct(InternalDataService $data, \ilDBInterface $db)
Definition:
class.InternalRepoService.php:31
ClipboardSessionRepository
ILIAS\Repository
ILIAS\Repository\InternalRepoService\$data
InternalDataService $data
Definition:
class.InternalRepoService.php:28
ILIAS\Repository\InternalRepoService\tree
tree()
Definition:
class.InternalRepoService.php:42
ILIAS\Repository\InternalRepoService
Definition:
class.InternalRepoService.php:26
ILIAS\Repository\InternalRepoService\$db
ilDBInterface $db
Definition:
class.InternalRepoService.php:29
ILIAS\Repository\InternalRepoService\clipboard
clipboard()
Definition:
class.InternalRepoService.php:37
ilDBInterface
ILIAS\Repository\InternalDataService
Definition:
class.InternalDataService.php:25
TreeDBRepo
components
ILIAS
Repository
Service
class.InternalRepoService.php
Generated on Sun Aug 31 2025 23:02:15 for ILIAS by
1.8.13 (using
Doxyfile
)