Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace App\Base;
- use Illuminate\Database\Eloquent\Model;
- use Illuminate\Database\Eloquent\ModelNotFoundException;
- use Illuminate\Pagination\LengthAwarePaginator;
- abstract class BaseRepository
- {
- protected $model;
- /**
- * BaseRepository constructor.
- * @param Model $model
- */
- public function __construct(Model $model)
- {
- $this->model = $model;
- }
- }
Add Comment
Please, Sign In to add comment