trait UpdatableTrait

UpdatableTrait.

This trait is supposed to be applied to resources that can be updated.

Properties

Client $client

Methods

mixed
asRequestBody()

Returns the resource in the form of request body.

update()

Updates the current resource.

VersionableSystemPropertiesInterface
getSystemProperties()

No description

Details

at line 35
abstract mixed asRequestBody()

Returns the resource in the form of request body.

This can differ from regular serialization, as some fields may not be present in the request payload.

Return Value

mixed

at line 40
update()

Updates the current resource.

at line 26
VersionableSystemPropertiesInterface getSystemProperties()

Return Value

VersionableSystemPropertiesInterface