Метод |
Описание |
|
create ( Resource $resource ) : scalar |
Create a new resource and return its ID. |
|
delete ( scalar $id ) |
Delete a resource by ID. |
|
getLastModified ( scalar $id ) : integer |
Get the last modified date for a resource without fetching it. |
|
load ( array $params = [] ) : Service |
|
|
read ( scalar $id ) : resource |
Fetch a single resource by ID. |
|
search ( array $params ) : resource[] |
Search for resources according to the parameters passed. |
|
update ( scalar $id, Resource $resource ) |
Update a resource by ID. |
|