You are here

function ExtendedClassFinderInterface::registerNamespaceDeep in X Autoload 7.4

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

Alias for registerNamespaceDeepLocation()

Parameters

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

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

\Drupal\xautoload\DirectoryBehavior\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::registerNamespaceDeep()
ClassFinder::registerNamespaceDeep in lib/ClassFinder/ClassFinder.php
Alias for registerNamespaceDeepLocation()

File

lib/ClassFinder/ExtendedClassFinderInterface.php, line 192

Class

ExtendedClassFinderInterface
Class finder interface with additional registration methods.

Namespace

Drupal\xautoload\ClassFinder

Code

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