ResourceReference implements JsonSerializable
A reference to a resource or resource template definition.
Tags
Table of Contents
Interfaces
- JsonSerializable
Properties
Methods
- __construct() : mixed
- jsonSerialize() : array{type: string, uri: string}
Properties
$type
public
string
$type
= 'ref/resource'
$uri read-only
public
string
$uri
Methods
__construct()
public
__construct(string $uri) : mixed
Parameters
- $uri : string
-
the URI or URI template of the resource
jsonSerialize()
public
jsonSerialize() : array{type: string, uri: string}