function Config::setSourceOfConfigValue
Parameters
mixed $configValue:
3 calls to Config::setSourceOfConfigValue()
- Config::get in vendor/
composer/ composer/ src/ Composer/ Config.php - Returns a setting
- Config::merge in vendor/
composer/ composer/ src/ Composer/ Config.php - Merges new config values with the existing ones (overriding)
- Config::__construct in vendor/
composer/ composer/ src/ Composer/ Config.php
File
-
vendor/
composer/ composer/ src/ Composer/ Config.php, line 501
Class
- Config
- @author Jordi Boggiano <j.boggiano@seld.be>
Namespace
ComposerCode
private function setSourceOfConfigValue($configValue, string $path, string $source) : void {
$this->sourceOfConfigValue[$path] = $source;
if (is_array($configValue)) {
foreach ($configValue as $key => $value) {
$this->setSourceOfConfigValue($value, $path . '.' . $key, $source);
}
}
}