Patch API
Discover all the methods and properties available in the Patch API.
Patches allow you to modify a particular entity, such as user profiles or session attributes, without knowing its current state.
Looking for something specific?
Use the search bar at the top of the page or press / to quickly search through the documentation.
Use the summary below to quickly jump to a specific topic:
Page | Description |
---|---|
set | Learn how to set a value at a given path. |
add | Learn how to add a value to a collection. |
combine | Learn how to combine two sets of values. |
remove | Learn how to remove values from a collection. |
merge | Learn how to merge two maps or lists. |
increment | Learn how to increment a value by a given amount. |
decrement | Learn how to decrement a value by a given amount. |
clear | Learn how to clear the value at the given path. |
unset | Learn how to delete the key and value at a given path. |
save | Learn how to apply the changes to the entity. |