JsonApiLinkTrait
trait JsonApiLinkTrait
Class JsonApiLinkTrait
Properties
| protected array | $links | The links array. |
Methods
array
getLinks()
Get the links.
$this
setLinks(array $links)
Set the links.
$this
addLink(string $key, string $value)
Add a link.
Details
at line 23
array
getLinks()
Get the links.
at line 35
$this
setLinks(array $links)
Set the links.
at line 49
$this
addLink(string $key, string $value)
Add a link.