MediaWiki REL1_40
|
Manage foreign resources registered with ResourceLoader. More...
Public Member Functions | |
__construct ( $registryFile, $libDir, callable $infoPrinter=null, callable $errorPrinter=null, callable $verbosePrinter=null) | |
run ( $action, $module) | |
Manage foreign resources registered with ResourceLoader.
Definition at line 38 of file ForeignResourceManager.php.
MediaWiki\ResourceLoader\ForeignResourceManager::__construct | ( | $registryFile, | |
$libDir, | |||
callable | $infoPrinter = null, | ||
callable | $errorPrinter = null, | ||
callable | $verbosePrinter = null ) |
string | $registryFile | Path to YAML file |
string | $libDir | Path to a modules directory |
callable | null | $infoPrinter | Callback for printing info about the run. |
callable | null | $errorPrinter | Callback for printing errors from the run. |
callable | null | $verbosePrinter | Callback for printing extra verbose progress information from the run. |
Definition at line 88 of file ForeignResourceManager.php.
MediaWiki\ResourceLoader\ForeignResourceManager::run | ( | $action, | |
$module ) |
string | $action | |
string | $module |
Exception |
Definition at line 119 of file ForeignResourceManager.php.
References $modules, wfMkdirParents(), and wfRecursiveRemoveDir().