CartRepository.php
7 months ago
ContactListRepository.php
8 months ago
FormRepository.php
8 months ago
Repository.php
8 months ago
RepositoryInterface.php
8 months ago
RepositoryInterface.php
16 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Hostinger\Reach\Repositories; |
| 4 | |
| 5 | if ( ! defined( 'ABSPATH' ) ) { |
| 6 | die; |
| 7 | } |
| 8 | |
| 9 | interface RepositoryInterface { |
| 10 | public function all( array $where = array() ): array; |
| 11 | public function exists( string $id ): bool; |
| 12 | public function get( string $id ): array; |
| 13 | public function insert( array $fields ): bool; |
| 14 | public function update( array $fields ): bool; |
| 15 | } |
| 16 |