<?php

namespace ThurData\Servers\KerioEmail\Core\Logger;

use function ThurData\Servers\KerioEmail\Core\Helper\sl;
use ThurData\Servers\KerioEmail\Core\Http\Request;

/**
 * Description of Collection
 *
 * @autor ThurData <info@thurdata.ch>
 */
class Collection
{
    /**
     * @var LoggerModel
     */
    protected $model;
    
    /**
     * @var Request 
     */
    protected $requestObj;
    
    protected $limit = 10;
    protected $search;
    protected $sort;
    
    public function __construct(Request $requestObj)
    {
        $this->requestObj = $requestObj;
    }
    
    public function loadSearch()
    {
        
    }
    
    
    public function all()
    {
        
    }
    
    public function getBySearch($search)
    {
        
    }
    
    public function removeByDate($date)
    {
        
    }
    
    /**
     * @return Entity
     */
    protected function generatedEntityModel()
    {
        return sl(Entity::class);
    }
}
