original_string: private static function includeConfigFile(array &$config, $config_file, File $base_dir, ConfigReader $reader)
      {
          // try relative path
          $file = new File($config_file, $base_dir);
          
          if ( $file->exists() ){
              $included = self::loadConfigFileByFormat( $file, $reader );
              $config = array_merge_recursive($config, $included);
              return;
          }
          
          // try full path
          $file = new File($config_file);
          
          if ( $file->exists() ){
              $included = self::loadConfigFileByFormat( $file, $reader );
              $config = array_merge_recursive($config, $included);
              return;
          }
          
          throw new IncludeConfigFileNotFoundException($config_file);
      }
code: private static function includeConfigFile(array &$config, $config_file, File $base_dir, ConfigReader $reader)
      {
          // try relative path
          $file = new File($config_file, $base_dir);
          
          if ( $file->exists() ){
              $included = self::loadConfigFileByFormat( $file, $reader );
              $config = array_merge_recursive($config, $included);
              return;
          }
          
          // try full path
          $file = new File($config_file);
          
          if ( $file->exists() ){
              $included = self::loadConfigFileByFormat( $file, $reader );
              $config = array_merge_recursive($config, $included);
              return;
          }
          
          throw new IncludeConfigFileNotFoundException($config_file);
      }
code_tokens: private static function includeConfigFile ( array & $ config , $ config_file , File $ base_dir , ConfigReader $ reader ) { // try relative path $ file = new File ( $ config_file , $ base_dir ) ; if ( $ file -> exists ( ) ) { $ included = self :: loadConfigFileByFormat ( $ file , $ reader ) ; $ config = array_merge_recursive ( $ config , $ included ) ; return ; } // try full path $ file = new File ( $ config_file ) ; if ( $ file -> exists ( ) ) { $ included = self :: loadConfigFileByFormat ( $ file , $ reader ) ; $ config = array_merge_recursive ( $ config , $ included ) ; return ; } throw new IncludeConfigFileNotFoundException ( $ config_file ) ; }
docstring: Include other config file
  
  @param array $config
  @param string $config_file
  @param File $base_dir
  @param ConfigReader $reader
  
  @throws IncludeConfigFileNotFoundException
  @throws UnsupportedConfigFileFormatException
docstring_tokens: Include other config file