final |
|---|
readonly |
OData custom query options — the non-$, non-@ parameters on a request
URL (e.g. ?roleCode=customer).
Carried as a property on {@see ODataRequest} (populated by the HTTP entry points
from the parsed URL), threaded through the query plan, and handed to an entity
set's query(CustomQueryOptions $options) by the resolver. Passing it as data —
rather than reaching for the global Illuminate request — is what makes it correct
under $batch: each inner request builds its own ODataRequest with its own
options, so there is no shared state and nothing to read off the outer envelope.
| Methods | ||
|---|---|---|
public
|
__construct(array<string, string> $options = [])
|
# |
public
|
get(string $key, ?string $default = null): ?string
|
# |
public
|
all(): array<string, string>
|
# |
public
static
|
fromQuery(array<string, mixed> $query): self
|
# |