protected function LocalDirectoryAdapter::prependMultiple in X Autoload 7.4
Same name and namespace in other branches
- 7.5 src/Adapter/LocalDirectoryAdapter.php \Drupal\xautoload\Adapter\LocalDirectoryAdapter::prependMultiple()
Parameters
array $map:
2 calls to LocalDirectoryAdapter::prependMultiple()
- LocalDirectoryAdapter::addMultiplePsr0 in lib/
Adapter/ LocalDirectoryAdapter.php - Add multiple PSR-0 namespaces
- LocalDirectoryAdapter::addMultiplePsr4 in lib/
Adapter/ LocalDirectoryAdapter.php
File
- lib/
Adapter/ LocalDirectoryAdapter.php, line 181
Class
- LocalDirectoryAdapter
- An instance of this class is passed around to implementations of hook_xautoload(). It acts as a wrapper around the ClassFinder, to register stuff.
Namespace
Drupal\xautoload\AdapterCode
protected function prependMultiple(array &$map) {
foreach ($map as &$paths) {
$paths = (array) $paths;
foreach ($paths as &$path) {
$path = $this->localDirectory . $path;
}
}
}