| 1 | <?php |
||
| 11 | class InventoryRepositoryEloquent extends BaseRepository implements InventoryRepository |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Specify Model class name. |
||
| 15 | * |
||
| 16 | * @return string |
||
| 17 | */ |
||
| 18 | public function model() |
||
| 19 | { |
||
| 20 | return Inventory::class; |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Specify Validator class name. |
||
| 25 | * |
||
| 26 | * @return mixed |
||
| 27 | */ |
||
| 28 | public function validator() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Boot up the repository, pushing criteria. |
||
| 35 | */ |
||
| 36 | public function boot() |
||
| 40 | } |
||
| 41 |