MMOframework
Pourquoi l'IA Playground Bibliothèques Documentation Rechercher Agence
FR EN
Index

iMutationObserver

MMO\core\interfaces · 1 symbole · générée le 27 Oct 2026

interface

iMutationObserver

iMutationObserver.php:4
interface MMO\core\interfaces\iMutationObserver
Espace de noms
MMO\core\interfaces

Méthodes1

mutate($type, $path, $value, $oldValue)

abstractiMutationObserver.php:15
abstract function mutate(string $type, array $path, mixed $value, mixed $oldValue): bool
$typestringthe type of mutation =: value at path is set -: value at path is deleted +: value at path is pushed
$patharraya list of keys to go to the value
$valuemixedthe new value at the given path
$oldValuemixedthe old value at the given path
retournebooltrue to stop propagation