Interface describing operations for a given resource.
create(array | object $data) : array | object
array
object
array
object
delete(string | int $id) : bool
string
int
bool
deleteList(null | array $data) : bool
null
array
bool
fetch(string | int $id) : false | array | object
string
int
false
array
object
fetchAll() : \Zend\Paginator\Paginator
\Zend\Paginator\Paginator
getEventParam(mixed $name, mixed $default) : mixed
mixed
mixed
mixed
getEventParams() : array
array
patch(string | int $id, array | object $data) : array | object
string
int
array
object
array
object
replaceList(array $data) : array | object
array
array
object
setEventParam(string $name, mixed $value) : mixed
string
mixed
mixed
setEventParams(array $params) : \PhlyRestfully\ResourceInterface
fluent | This method is part of a fluent interface and will return the same instance |
---|
array
update(string | int $id, array | object $data) : array | object
string
int
array
object
array
object