protected function ComposerJson::addIncludePaths in X Autoload 7.4
Same name and namespace in other branches
- 7.5 src/Discovery/ComposerJson.php \Drupal\xautoload\Discovery\ComposerJson::addIncludePaths()
Parameters
string[] $include_paths:
2 calls to ComposerJson::addIncludePaths()
- ComposerJson::writeToAdapter in lib/
Discovery/ ComposerJson.php - ComposerJsonTargetDir::writeToAdapter in lib/
Discovery/ ComposerJsonTargetDir.php
File
- lib/
Discovery/ ComposerJson.php, line 112
Class
Namespace
Drupal\xautoload\DiscoveryCode
protected function addIncludePaths(array $include_paths) {
foreach ($include_paths as &$path) {
$path = $this->pathPrefix . $path;
}
array_push($include_paths, get_include_path());
set_include_path(join(PATH_SEPARATOR, $include_paths));
}