UpdatableTrait
trait UpdatableTrait
UpdatableTrait.
This trait is supposed to be applied to resources that can be updated.
Properties
Client | $client | ||
SystemProperties | $sys |
Methods
mixed
asRequestBody()
Returns the resource in the form of request body.
update()
Deletes the current resource.
Details
at line 33
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.
at line 38
update()
Deletes the current resource.