Provides and interface for endpoints.
Methods | ||
---|---|---|
public
|
getParamWhitelist(): string[]
|
# |
public
|
getURI(): string
|
# |
public
|
getMethod(): string
|
# |
public
|
setParams(array $params): static
|
# |
public
|
getParams(): array
|
# |
public
|
getOptions(): array<string, mixed>
|
# |
public
|
getIndex(): ?string
|
# |
public
|
setIndex(string|string[]|null $index): $this
|
# |
public
|
setId(int|string|null $docID): $this
|
# |
public
|
getBody(): array|string
|
# |
public
|
setBody(array<string, mixed> $body): static
|
# |