Index

iMutationObserver

MMO\core\interfaces · 1 symbol · generated 30 Sep 2026

interface

iMutationObserver

iMutationObserver.php:4
interface MMO\core\interfaces\iMutationObserver
Namespace
MMO\core\interfaces

Methods1

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
returnsbooltrue to stop propagation