src/Eloquent/AbstractAdapter.php
protected function applyFilters($query, Collection $filters)
    {
        /** By default we support the `id` filter. */
        if ($this->isFindMany($filters)) {
            $this->filterByIds($query, $filters);
        }

        /** Hook for custom filters. */
        $this->filter($query, $filters);
    }
protected function applyFilters($query, Collection $filters)
    {
        /** By default we support the `id` filter. */
        if ($this->isFindMany($filters)) {
            $this->filterByIds($query, $filters);
        }

        /** Hook for custom filters. */
        $this->filter($query, $filters);
    }
Apply filters to the provided query parameter.

@param Builder $query
@param Collection $filters