final | |
|---|---|
readonly | |
implements |
JsonSerializable, Arrayable<array{audience?: list<'assistant'|'user'>, lastModified?: non-empty-string, priority?: float}> |
Optional annotations for the client. The client can use annotations to inform how objects are used or displayed.
| Methods | ||
|---|---|---|
public
|
__construct(null|list<Role> $audience = null, null|DateTimeImmutable $lastModified = null, null|float $priority = null)
|
# |
public
|
toArray(): array
|
# |
public
|
jsonSerialize(): template-type<self, Arrayable, 'T'>
|
# |
| Properties | |||
|---|---|---|---|
public
|
null|list<Role>
|
$audience
|
# |
public
|
null|DateTimeImmutable
|
$lastModified
|
# |
public
|
null|float
|
$priority
|
# |