original_string: public function getSetting($key = null, $default = null)
      {
          return $this->getSettingsComponent()->get($this->getSettingsCategory(), $key, $default);
      }
code: public function getSetting($key = null, $default = null)
      {
          return $this->getSettingsComponent()->get($this->getSettingsCategory(), $key, $default);
      }
code_tokens: public function getSetting ( $ key = null , $ default = null ) { return $ this -> getSettingsComponent ( ) -> get ( $ this -> getSettingsCategory ( ) , $ key , $ default ) ; }
docstring: Returns settings from current category.
  
  @param string|array $key Single or multiple keys in array
  @param mixed $default Default value when setting does not exist
  @return mixed Setting value
  @throws Exception
docstring_tokens: Returns settings from current category .