final | |
|---|---|
readonly | |
implements |
InputResponse<array{action: non-empty-string, content?: array<non-empty-string, bool|float|int|list<string>|string>}> |
The result returned by the client for an elicitation/create request.
| Methods | ||
|---|---|---|
public
|
__construct(ElicitAction $action, null|array<string, bool|float|int|list<string>|string> $content = null)
|
# |
public
static
|
fromArray(array $data): static
|
# |
public
|
toArray(): array
|
# |
public
|
jsonSerialize(): array
|
# |
| Properties | |||
|---|---|---|---|
public
|
null|array<non-empty-string, bool|float|int|list<string>|string>
|
$content
|
# |
public
|
ElicitAction
|
$action
|
# |