function LocalDirectoryAdapter::addMultiplePsr4 in X Autoload 7.4
Same name and namespace in other branches
- 7.5 src/Adapter/LocalDirectoryAdapter.php \Drupal\xautoload\Adapter\LocalDirectoryAdapter::addMultiplePsr4()
Parameters
array $map:
bool $relative:
Overrides ClassFinderAdapterInterface::addMultiplePsr4
File
- lib/
Adapter/ LocalDirectoryAdapter.php, line 105
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
function addMultiplePsr4(array $map, $relative = TRUE) {
$relative && $this
->prependMultiple($map);
$this->master
->addMultiplePsr4($map);
}