setOptions | The ClassMapAutoloader Programmer's Reference Guide | registerAutoloadMaps

# registerAutoloadMap

Register a class map

registerAutoloadMap ( $map )

# registerAutoloadMap()

Registers a class map with the autoloader. $map may be either a string referencing a PHP script that returns a class map, or an array defining a class map.

More than one class map may be registered; each will be merged with the previous, meaning it's possible for a later class map to overwrite entries from a previously registered map.

setOptions | The ClassMapAutoloader Programmer's Reference Guide | registerAutoloadMaps