ILIAS  release_8 Revision v8.24
class.RepoService.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
24
30{
32 protected \ilDBInterface $db;
33
35 {
36 $this->data = $data;
37 $this->db = $db;
38 }
39
40 public function item(): ItemSessionRepository
41 {
42 return new ItemSessionRepository();
43 }
44
45 public function view(): ViewSessionRepository
46 {
47 return new ViewSessionRepository();
48 }
49
50 public function block(): BlockSessionRepository
51 {
52 return new BlockSessionRepository();
53 }
54}
Repository internal repo service.
__construct(InternalDataService $data, \ilDBInterface $db)
Repository internal data service.
Interface ilDBInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...