BaseRepository.php
3 years ago
CouponRepository.php
2 years ago
CustomerRepository.php
1 year ago
GroupRepository.php
3 years ago
OrderRepository.php
11 months ago
PlanRepository.php
2 months ago
RepositoryInterface.php
3 years ago
SubscriptionRepository.php
3 months ago
index.php
3 years ago
RepositoryInterface.php
23 lines
| 1 | <?php |
| 2 | |
| 3 | |
| 4 | namespace ProfilePress\Core\Membership\Repositories; |
| 5 | |
| 6 | use ProfilePress\Core\Membership\Models\ModelInterface; |
| 7 | |
| 8 | interface RepositoryInterface |
| 9 | { |
| 10 | public function add(ModelInterface $data); |
| 11 | |
| 12 | public function update(ModelInterface $data); |
| 13 | |
| 14 | public function delete($id); |
| 15 | |
| 16 | public function retrieve($id); |
| 17 | |
| 18 | public function updateColumn($id, $column, $value); |
| 19 | |
| 20 | public function retrieveColumn($id, $column); |
| 21 | |
| 22 | public function record_count(); |
| 23 | } |