Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3namespace MediaWiki\ResourceLoader\Hook;
4
5use MediaWiki\ResourceLoader\ResourceLoader;
6
7/**
8 * This is a hook handler interface, see docs/Hooks.md.
9 * Use the hook name "ResourceLoaderRegisterModules" to register handlers implementing this interface.
10 *
11 * @stable to implement
12 * @ingroup ResourceLoaderHooks
13 */
14interface ResourceLoaderRegisterModulesHook {
15    /**
16     * This hook is called right before modules information is required,
17     * such as when responding to a resource
18     * loader request or generating HTML output.
19     *
20     * @since 1.35
21     * @param ResourceLoader $rl
22     * @return void This hook must not abort, it must return no value
23     */
24    public function onResourceLoaderRegisterModules( ResourceLoader $rl ): void;
25}