src/Repositories/Repository.php
public function filter(FilterRequest $filters)
    {
        $search = new Search($this->model, $filters);
        $this->builder = $search->getBuilder();
        
        return $this;
    }
public function filter(FilterRequest $filters)
    {
        $search = new Search($this->model, $filters);
        $this->builder = $search->getBuilder();
        
        return $this;
    }
Filter the Entity

@param Lab123\Odin\Requests\FilterRequest $filters
@return Lab123\Odin\Libs\Search