original_string: protected function processConfig(ConfigInterface $config)
      {
          if (func_num_args() > 1) {
              try {
                  $keys = func_get_args();
                  array_shift($keys);
                  $config = $config->getSubConfig($keys);
              } catch (Exception $exception) {
                  throw new FailedToProcessConfigException(
                      sprintf(
                          _('Could not process the config with the arguments "%1$s".'),
                          print_r(func_get_args(), true)
                      )
                  );
              }
          }
          $this->config = $config;
      }
code: protected function processConfig(ConfigInterface $config)
      {
          if (func_num_args() > 1) {
              try {
                  $keys = func_get_args();
                  array_shift($keys);
                  $config = $config->getSubConfig($keys);
              } catch (Exception $exception) {
                  throw new FailedToProcessConfigException(
                      sprintf(
                          _('Could not process the config with the arguments "%1$s".'),
                          print_r(func_get_args(), true)
                      )
                  );
              }
          }
          $this->config = $config;
      }
code_tokens: protected function processConfig ( ConfigInterface $ config ) { if ( func_num_args ( ) > 1 ) { try { $ keys = func_get_args ( ) ; array_shift ( $ keys ) ; $ config = $ config -> getSubConfig ( $ keys ) ; } catch ( Exception $ exception ) { throw new FailedToProcessConfigException ( sprintf ( _ ( 'Could not process the config with the arguments "%1$s".' ) , print_r ( func_get_args ( ) , true ) ) ) ; } } $ this -> config = $ config ; }
docstring: Process the passed-in configuration file.
  
  @since 0.1.2
  
  @param ConfigInterface $config The Config to process.
  @param                 string  ... List of keys.
  
  @throws FailedToProcessConfigException If the arguments could not be parsed into a Config.
docstring_tokens: Process the passed - in configuration file .