PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 2.4
Booking for Appointments and Events Calendar – Amelia v2.4
2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / src / Domain / Repository / BaseRepositoryInterface.php
ameliabooking / src / Domain / Repository Last commit date
Bookable 6 months ago Booking 6 months ago Coupon 6 months ago CustomField 6 months ago Gallery 6 months ago Location 7 years ago Notification 1 year ago User 2 years ago BaseRepositoryInterface.php 7 years ago
BaseRepositoryInterface.php
61 lines
1 <?php
2
3 namespace AmeliaBooking\Domain\Repository;
4
5 /**
6 * Interface BaseRepositoryInterface
7 *
8 * @package AmeliaBooking\Domain\Repository
9 */
10 interface BaseRepositoryInterface
11 {
12 /**
13 * @param int $id
14 *
15 * @return mixed
16 */
17 public function getById($id);
18
19 /**
20 * @return mixed
21 */
22 public function getAll();
23
24 /**
25 * @param $entity
26 *
27 * @return mixed
28 */
29 public function add($entity);
30
31 /**
32 * @param int $id
33 * @param $entity
34 *
35 * @return mixed
36 */
37 public function update($id, $entity);
38
39 /**
40 * @param $id
41 *
42 * @return mixed
43 */
44 public function delete($id);
45
46 /**
47 * @return bool
48 */
49 public function beginTransaction();
50
51 /**
52 * @return bool
53 */
54 public function commit();
55
56 /**
57 * @return bool
58 */
59 public function rollback();
60 }
61