isFallbackAutoloader | The StandardAutoloader Programmer's Reference Guide | registerNamespaces

# registerNamespace

Register a namespace with the autoloader

registerNamespace ( $namespace, $directory )

# registerNamespace()

Register a namespace with the autoloader, pointing it to a specific directory on the filesystem for class resolution. For classes matching that initial namespace, the autoloader will then perform lookups within that directory.

isFallbackAutoloader | The StandardAutoloader Programmer's Reference Guide | registerNamespaces