original_string: protected function iterateConfig(string $key)
      {
          $result = $this->config;
  
          foreach (explode('.', $key) as $p) {
              if (!isset($result[$p])) {
                  return null;
              }
  
              $result = $result[$p];
          }
  
          return $result;
      }
code: protected function iterateConfig(string $key)
      {
          $result = $this->config;
  
          foreach (explode('.', $key) as $p) {
              if (!isset($result[$p])) {
                  return null;
              }
  
              $result = $result[$p];
          }
  
          return $result;
      }
code_tokens: protected function iterateConfig ( string $ key ) { $ result = $ this -> config ; foreach ( explode ( '.' , $ key ) as $ p ) { if ( ! isset ( $ result [ $ p ] ) ) { return null ; } $ result = $ result [ $ p ] ; } return $ result ; }
docstring: Iterate through configuration.
  
  @param  string $key
  @return mixed
docstring_tokens: Iterate through configuration .