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 33
__construct(string $id, string $linkType)
Link constructor.
at line 44
string
getId()
Get the ID of the referenced resource.
at line 58
string
getLinkType()
Get the type of the Link.
Possible values are: - Asset - Entry
at line 70
object
jsonSerialize()
Returns an object to be used by json_encode
to serialize objects of this class.