Methods

__construct()

__construct(object | array $resource, mixed $id) 

Parameters

$resource

objectarray

$id

mixed

Exceptions

\PhlyRestfully\Exception\InvalidResourceException if resource is not an object or array

Retrieve properties

__get(string $name) : mixed

Parameters

$name

string

Returns

mixed