final | |
|---|---|
readonly | |
implements |
Arrayable<array{type: 'ref/resource', uri: non-empty-string}> |
A reference to a resource or resource template definition.
| Methods | ||
|---|---|---|
public
|
__construct(string $uri)
|
# |
public
static
|
fromArray(array<string, mixed> $data): static
|
# |
public
|
toArray(): array
|
# |
public
|
jsonSerialize(): array
|
# |
| Constants | |||
|---|---|---|---|
public
|
string |
TYPE = 'ref/resource'
|
# |
| Properties | |||
|---|---|---|---|
public
|
non-empty-string
|
$uri
|
# |