| 1 |
<?php |
| 2 |
|
| 3 |
|
| 4 |
namespace FL\Assistant\System\Contracts; |
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
abstract class RepositoryAbstract { |
| 9 |
|
| 10 |
|
| 11 |
abstract public function find( $id, callable $transform = null ); |
| 12 |
|
| 13 |
abstract public function find_where( array $args = [], callable $transform = null ); |
| 14 |
|
| 15 |
abstract public function paginate( array $args = [], callable $transform = null ); |
| 16 |
|
| 17 |
abstract public function query( array $args = [] ); |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
} |
| 23 |
|