You are here

function GenericPrefixMap::unregisterDeepPath in X Autoload 7.4

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

Delete a registered path mapping.

Parameters

string $logical_base_path:

string $deep_path:

File

lib/ClassFinder/GenericPrefixMap.php, line 115

Class

GenericPrefixMap
Helper class for the class finder. This is not part of ClassFinder, because we want to use the same logic for namespaces (PSR-0) and prefixes (PEAR).

Namespace

Drupal\xautoload\ClassFinder

Code

function unregisterDeepPath($logical_base_path, $deep_path) {
  unset($this->paths[$logical_base_path][$deep_path]);
}