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