__construct(object | array $resource, mixed $id)
object
array
mixed
\PhlyRestfully\Exception\InvalidResourceException |
if resource is not an object or array |
---|
__get(string $name) : mixed
string
mixed
setLinks(\PhlyRestfully\LinkCollection $links) : \PhlyRestfully\HalResource
fluent | This method is part of a fluent interface and will return the same instance |
---|