iMutationObserver
MMO\core\interfaces · 1 symbol · generated 30 Sep 2026
interface MMO\core\interfaces\iMutationObserver- Namespace
MMO\core\interfaces
Methods1
abstract function mutate(string $type, array $path, mixed $value, mixed $oldValue): bool| $type | string | the type of mutation =: value at path is set -: value at path is deleted +: value at path is pushed |
| $path | array | a list of keys to go to the value |
| $value | mixed | the new value at the given path |
| $oldValue | mixed | the old value at the given path |
| returns | bool | true to stop propagation |