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