You are here

function xautoload_ClassFinder_NamespaceOrPrefix::registerNamespaceDeep in X Autoload 7.2

Same name and namespace in other branches
  1. 7.3 lib/ClassFinder/NamespaceOrPrefix.php \xautoload_ClassFinder_NamespaceOrPrefix::registerNamespaceDeep()

Alias for registerNamespaceDeepLocation()

Parameters

string $namespace: The namespace, e.g. "My\Namespace"

string $path: The deep path, e.g. "../lib/My/Namespace"

boolean $lazy_check: If TRUE, then we are not sure if the directory at $path actually exists. If during the process we find the directory to be nonexistent, we unregister the path.

File

lib/ClassFinder/NamespaceOrPrefix.php, line 52

Class

xautoload_ClassFinder_NamespaceOrPrefix

Code

function registerNamespaceDeep($namespace, $path, $lazy_check = TRUE) {
  $this
    ->registerNamespaceDeepLocation($namespace, $path, $lazy_check);
}