protected function setIsSymlinkEnabled(array $extraConfigs)
{
if (isset($extraConfigs[SharedPackageInstaller::PACKAGE_TYPE]['symlink-enabled'])) {
if (!is_bool($extraConfigs[SharedPackageInstaller::PACKAGE_TYPE]['symlink-enabled'])) {
throw new \UnexpectedValueException('The configuration "symlink-enabled" should be a boolean');
}
$this->isSymlinkEnabled = $extraConfigs[SharedPackageInstaller::PACKAGE_TYPE]['symlink-enabled'];
}
}