ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.RepoService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
29{
31 protected \ilDBInterface $db;
32
34 {
35 $this->data = $data;
36 $this->db = $db;
37 }
38
39 public function item(): ItemSessionRepository
40 {
41 return new ItemSessionRepository();
42 }
43
44 public function mode(): ModeSessionRepository
45 {
46 return new ModeSessionRepository();
47 }
48
49 public function block(): BlockSessionRepository
50 {
51 return new BlockSessionRepository();
52 }
53
54 public function filter(): Filter\RepoService
55 {
56 return new Filter\RepoService(
57 $this->data,
58 $this->db
59 );
60 }
61}
__construct(InternalDataService $data, \ilDBInterface $db)
Repository internal data service.
Interface ilDBInterface.