original_string: public function getConfig($key = null, $default = null)
      {
  
          $configurator = $this->getConfigurator();
          if (null === $key) {
              return $configurator;
          }
  
          return $configurator->get($key, $default);
      }
code: public function getConfig($key = null, $default = null)
      {
  
          $configurator = $this->getConfigurator();
          if (null === $key) {
              return $configurator;
          }
  
          return $configurator->get($key, $default);
      }
code_tokens: public function getConfig ( $ key = null , $ default = null ) { $ configurator = $ this -> getConfigurator ( ) ; if ( null === $ key ) { return $ configurator ; } return $ configurator -> get ( $ key , $ default ) ; }
docstring: Get a config key's value
  
  @param string $key
  @param mixed $default
  
  @return mixed
docstring_tokens: Get a config key s value