Link
class Link implements JsonSerializable
Link class.
A Link in Contentful represents a reference to any kind of resource.
Methods
__construct(string $linkId, string $linkType)
Link constructor.
string
getId()
Get the ID of the referenced resource.
string
getLinkType()
Get the type of the Link.
jsonSerialize()
{@inheritdoc}
Details
at line 37
__construct(string $linkId, string $linkType)
Link constructor.
at line 48
string
getId()
Get the ID of the referenced resource.
at line 58
string
getLinkType()
Get the type of the Link.
at line 66
jsonSerialize()
{@inheritdoc}