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 35
__construct(string $linkId, string $linkType)
Link constructor.
at line 46
string
getId()
Get the ID of the referenced resource.
at line 56
string
getLinkType()
Get the type of the Link.
at line 64
jsonSerialize()
{@inheritdoc}