| 1 | <?php |
||
| 7 | abstract class DbRepository extends BaseRepository implements Repository |
||
| 8 | { |
||
| 9 | public function getAll() : Collection |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @return \Illuminate\Database\Eloquent\Model|null |
||
| 16 | */ |
||
| 17 | public function find(int $id) |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return \Illuminate\Database\Eloquent\Model|null |
||
| 24 | */ |
||
| 25 | public function findOnline(int $id) |
||
| 29 | |||
| 30 | public function getAllOnline() : Collection |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return \Illuminate\Database\Eloquent\Model|null |
||
| 39 | */ |
||
| 40 | public function findByUrl(string $url) |
||
| 53 | |||
| 54 | |||
| 55 | } |
||
| 56 |