Свойство | Type | Description | |
---|---|---|---|
$maps | A list of registered maps. | ||
$rules | Optional rules that are attached to the map. |
Méthode | Description | |
---|---|---|
findClass ( string $class ) : string | boolean | Parses that class name and returns the absolute path to the class. | |
getInstance ( ) | Get an instance of Loader. | |
registerMap ( string $prefix, array | string $library ) : void | Register a map. | |
unregisterMap ( string $mapPrefix ) : boolean | Removes the given map prefix from class loader. |
public unregisterMap ( string $mapPrefix ) : boolean | ||
$mapPrefix | string | Map prefix that should be removed. |
Résultat | boolean | Returns true if the map prefix was found and removed, otherwise false. |