ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.InternalRepoService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\Repository;
22 
25 
27 {
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 }
__construct(InternalDataService $data, \ilDBInterface $db)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...