This class represents a set of properties that are going to be updated.
Usually this is simply a PROPPATCH request, but it can also be used for internal updates.
Property updates must always be atomic. This means that a property update must either completely succeed, or completely fail.
Methods | ||
---|---|---|
public
|
__construct(array $mutations)
|
# |
public
|
handle(string|string[] $properties, callable $callback)
|
# |
public
|
handleRemaining(callable $callback)
|
# |
public
|
setResultCode(string|string[] $properties, int $resultCode)
|
# |
public
|
setRemainingResultCode(int $resultCode)
|
# |
public
|
getRemainingMutations(): string[]
|
# |
public
|
getRemainingValues(): array
|
# |
public
|
commit(): bool
|
# |
public
|
getResult(): array
|
# |
public
|
getMutations(): array
|
# |