13 private $extensionRegistry;
15 private $deprecatedHooks;
21 $this->extensionRegistry = $extensionRegistry;
22 $this->deprecatedHooks = $deprecatedHooks;
31 return $this->extensionRegistry->getAttribute(
'Hooks' ) ?? [];
35 return $this->deprecatedHooks;
The Registry loads JSON files, and uses a Processor to extract information from them.
$wgHooks
Config variable stub for the Hooks setting, for use by phpdoc and IDEs.