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\Notes;
22
28{
30 protected \ilDBInterface $db;
31
33 {
34 $this->data = $data;
35 $this->db = $db;
36 }
37
38 public function note(): NoteDBRepository
39 {
40 return new NoteDBRepository(
41 $this->data,
42 $this->db
43 );
44 }
45
47 {
48 return new NotesSessionRepository();
49 }
50
52 {
53 return new NoteSettingsDBRepository(
54 $this->data,
55 $this->db
56 );
57 }
58}
__construct(InternalDataService $data, \ilDBInterface $db)
Interface ilDBInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...