original_string: public function get($key, $default = null)
      {
          $config = $this->config;
  
          foreach (explode('.', $key) as $k) {
              if (! isset($config[$k])) {
                  return $default;
              }
              $config = $config[$k];
          }
  
          return $config;
      }
code: public function get($key, $default = null)
      {
          $config = $this->config;
  
          foreach (explode('.', $key) as $k) {
              if (! isset($config[$k])) {
                  return $default;
              }
              $config = $config[$k];
          }
  
          return $config;
      }
code_tokens: public function get ( $ key , $ default = null ) { $ config = $ this -> config ; foreach ( explode ( '.' , $ key ) as $ k ) { if ( ! isset ( $ config [ $ k ] ) ) { return $ default ; } $ config = $ config [ $ k ] ; } return $ config ; }
docstring: Retrieve a configuration option via a provided key.
  
  @param string $key     Unique configuration option key
  @param mixed  $default Default value to return if option does not exist
  
  @return mixed Stored config item or $default value
docstring_tokens: Retrieve a configuration option via a provided key .