Link
class Link implements JsonSerializable
A link encodes a reference to a resource.
Methods
__construct(string $id, string $linkType)
Link constructor.
string
getId()
Get the ID of the referenced resource
string
getLinkType()
Get the type of the Link.
object
jsonSerialize()
Returns an object to be used by json_encode
to serialize objects of this class.
Details
at line 30
__construct(string $id, string $linkType)
Link constructor.
at line 41
string
getId()
Get the ID of the referenced resource
at line 55
string
getLinkType()
Get the type of the Link.
Possible values are: - Asset - Entry
at line 67
object
jsonSerialize()
Returns an object to be used by json_encode
to serialize objects of this class.