Rinvex\Repository\Repositories\EloquentRepository::findWhereNotIn PHP Method

findWhereNotIn() public method

Find all entities matching whereNotIn conditions.
public findWhereNotIn ( array $where, array $attributes = ['*'] ) : Collection
$where array
$attributes array
return Illuminate\Support\Collection
    public function findWhereNotIn(array $where, $attributes = ['*'])
    {
        return $this->executeCallback(get_called_class(), __FUNCTION__, func_get_args(), function () use($where, $attributes) {
            list($attribute, $values, $boolean) = array_pad($where, 3, null);
            $this->whereNotIn($attribute, $values, $boolean);
            return $this->prepareQuery($this->createModel())->get($attributes);
        });
    }