ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.InternalRepoService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Repository;
22
25
27{
29 protected \ilDBInterface $db;
30
32 {
33 $this->data = $data;
34 $this->db = $db;
35 }
36
38 {
39 return new ClipboardSessionRepository();
40 }
41
42 public function tree(): TreeDBRepo
43 {
44 return new TreeDBRepo(
45 $this->db
46 );
47 }
48}
__construct(InternalDataService $data, \ilDBInterface $db)
Interface ilDBInterface.