Guest User

Untitled

a guest
Mar 22nd, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. <?php
  2.  
  3. namespace App\Base;
  4.  
  5. use Illuminate\Database\Eloquent\Model;
  6. use Illuminate\Database\Eloquent\ModelNotFoundException;
  7. use Illuminate\Pagination\LengthAwarePaginator;
  8.  
  9. abstract class BaseRepository
  10. {
  11. protected $model;
  12.  
  13. /**
  14. * BaseRepository constructor.
  15. * @param Model $model
  16. */
  17. public function __construct(Model $model)
  18. {
  19. $this->model = $model;
  20. }
  21. }
Add Comment
Please, Sign In to add comment