ILIAS  release_8 Revision v8.24
class.InternalRepoService.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
21namespace ILIAS\BookingManager;
22
24
30{
32 protected \ilDBInterface $db;
33
35 {
36 $this->data = $data;
37 $this->db = $db;
38 }
39
40 /*
41 public function ...() : ...\RepoService
42 {
43 return new ...\RepoService(
44 $this->data,
45 $this->db
46 );
47 }*/
48
50 {
51 return new \ilBookingPreferencesDBRepository(
52 $this->data,
53 $this->db
54 );
55 }
56
58 {
59 return new \ilBookingPrefBasedBookGatewayRepository(
60 $this->db
61 );
62 }
63
65 {
67 }
68}
__construct(InternalDataService $data, \ilDBInterface $db)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface ilDBInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...