You are here

function ExtendedClassFinderInterface::registerPrefixDeepLocation in X Autoload 7.4

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

Register a filesystem location for a given class prefix.

Parameters

string $prefix: The prefix, e.g. "My_Prefix"

string $deep_path: The deep filesystem location, e.g. "../lib/My/Prefix".

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::registerPrefixDeepLocation()
ClassFinder::registerPrefixDeepLocation in lib/ClassFinder/ClassFinder.php
Register a filesystem location for a given class prefix.

File

lib/ClassFinder/ExtendedClassFinderInterface.php, line 145

Class

ExtendedClassFinderInterface
Class finder interface with additional registration methods.

Namespace

Drupal\xautoload\ClassFinder

Code

function registerPrefixDeepLocation($prefix, $deep_path, $behavior = NULL);