Collection.php 962 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?php
  2. namespace ModulesGarden\Servers\ProxmoxVps\Core\Logger;
  3. use function ModulesGarden\Servers\ProxmoxVps\Core\Helper\sl;
  4. use ModulesGarden\Servers\ProxmoxVps\Core\Http\Request;
  5. /**
  6. * Description of Collection
  7. *
  8. * @author inbs
  9. */
  10. class Collection
  11. {
  12. /**
  13. * @var LoggerModel
  14. */
  15. protected $model;
  16. /**
  17. * @var Request
  18. */
  19. protected $requestObj;
  20. protected $limit = 10;
  21. protected $search;
  22. protected $sort;
  23. public function __construct(Request $requestObj)
  24. {
  25. $this->requestObj = $requestObj;
  26. }
  27. public function loadSearch()
  28. {
  29. }
  30. public function all()
  31. {
  32. }
  33. public function getBySearch($search)
  34. {
  35. }
  36. public function removeByDate($date)
  37. {
  38. }
  39. /**
  40. * @return Entity
  41. */
  42. protected function generatedEntityModel()
  43. {
  44. return sl(Entity::class);
  45. }
  46. }