original_string: 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'];
          }
      }
code: 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'];
          }
      }
code_tokens: 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' ] ; } }
docstring: The symlink directory creation process can be disabled.
  This may mean that you work directly with the sources directory so the symlink directory is useless.
  
  @param array $extraConfigs
docstring_tokens: The symlink directory creation process can be disabled . This may mean that you work directly with the sources directory so the symlink directory is useless .