Handles all the loading, unloading and management of modules.
| package | Core | 
|---|
exists(string $module) : bool | string
stringThe module name
boolstringPath to the module found, or false if not foundload(string | array $module, string | null $path) : bool
If a path is not given, then 'module_paths' is used. It also accepts an array of modules as the first parameter.
stringarrayThe module name or array of modules.
stringnullThe path to the module
\ModuleNotFoundException | 
|---|
boolTrue on success, False on fail or already loaded.loaded(string | null $module) : bool | array
stringnullThe module name or null
boolarrayWhether the module is loaded, or all modulesunload(string $module) : void
stringThe module name
$modules : array