iMutationObserver
MMO\core\interfaces · 1 symbole · générée le 27 Oct 2026
interface MMO\core\interfaces\iMutationObserver- Espace de noms
MMO\core\interfaces
Méthodes1
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 |
| retourne | bool | true to stop propagation |