You are here

function ExtendedClassFinderInterface::registerNamespaceDeepLocation in X Autoload 7.4

Same name and namespace in other branches
  1. 7.5 src/ClassFinder/ExtendedClassFinderInterface.php \Drupal\xautoload\ClassFinder\ExtendedClassFinderInterface::registerNamespaceDeepLocation()

Register a deep filesystem location for a given namespace.

Parameters

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

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

DirectoryBehaviorInterface $behavior: 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.

1 method overrides ExtendedClassFinderInterface::registerNamespaceDeepLocation()
ClassFinder::registerNamespaceDeepLocation in lib/ClassFinder/ClassFinder.php
Register a deep filesystem location for a given namespace.

File

lib/ClassFinder/ExtendedClassFinderInterface.php, line 214

Class

ExtendedClassFinderInterface
Class finder interface with additional registration methods.

Namespace

Drupal\xautoload\ClassFinder

Code

function registerNamespaceDeepLocation($namespace, $path, $behavior = NULL);