* @since 3.1.0 */ class ConfigEvent extends Event { /** * @var string The config path being processed */ public string $path; /** * @var mixed The old config item value */ public mixed $oldValue = null; /** * @var mixed The new config item value */ public mixed $newValue = null; /** * @var string[]|null Any parts of the path that were matched by `{uid}` tokens. * This wil be populated if the handler was registered using [[\craft\services\ProjectConfig::registerChangeEventHandler()]], * or one of its shortcut methods. */ public ?array $tokenMatches = null; }