original_string: public function get($key = null, $default = null)
      {
          if (!isset($key)) {
              return $this->config;
          }
  
          if (array_key_exists($key, $this->config)) {
              return $this->config[$key];
          }
  
          return $default;
      }
code: public function get($key = null, $default = null)
      {
          if (!isset($key)) {
              return $this->config;
          }
  
          if (array_key_exists($key, $this->config)) {
              return $this->config[$key];
          }
  
          return $default;
      }
code_tokens: public function get ( $ key = null , $ default = null ) { if ( ! isset ( $ key ) ) { return $ this -> config ; } if ( array_key_exists ( $ key , $ this -> config ) ) { return $ this -> config [ $ key ] ; } return $ default ; }
docstring: Returns a value from an array of configuration options
  @param string $key
  @param mixed $default
  @return mixed
docstring_tokens: Returns a value from an array of configuration options