protected function ComposerJson::addIncludePaths in X Autoload 7.5
Same name and namespace in other branches
- 7.4 lib/Discovery/ComposerJson.php \Drupal\xautoload\Discovery\ComposerJson::addIncludePaths()
Parameters
string[] $include_paths:
2 calls to ComposerJson::addIncludePaths()
- ComposerJson::writeToAdapter in src/
Discovery/ ComposerJson.php - ComposerJsonTargetDir::writeToAdapter in src/
Discovery/ ComposerJsonTargetDir.php
File
- src/
Discovery/ ComposerJson.php, line 113
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));
}