class FileSearchQuery

Properties

protected array<int, array{type: "eq"|"in"|"ne"|"nin", key: string, value: mixed}> $filters

The defined filters.

Methods

where(string $key, mixed $value)

Add a "where" filter to the file search.

whereNot(string $key, mixed $value)

Add a "where not" filter to the file search.

whereIn(string $key, Collection|array $values)

Add a "where in" filter to the file search.

whereNotIn(string $key, Collection|array $values)

Add a "where not in" filter to the file search.

array
toArray()

Get the filters as an array.

Details

at line 21
FileSearchQuery where(string $key, mixed $value)

Add a "where" filter to the file search.

Parameters

string $key
mixed $value

Return Value

FileSearchQuery

at line 35
FileSearchQuery whereNot(string $key, mixed $value)

Add a "where not" filter to the file search.

Parameters

string $key
mixed $value

Return Value

FileSearchQuery

at line 51
FileSearchQuery whereIn(string $key, Collection|array $values)

Add a "where in" filter to the file search.

Parameters

string $key
Collection|array $values

Return Value

FileSearchQuery

at line 67
FileSearchQuery whereNotIn(string $key, Collection|array $values)

Add a "where not in" filter to the file search.

Parameters

string $key
Collection|array $values

Return Value

FileSearchQuery

at line 83
array toArray()

Get the filters as an array.

Return Value

array