code: public function getSetting($name, $default = null)
      {
          return array_key_exists($name, $this->settings) ? $this->settings[$name] : $default;
      }
docs: Get setting.
  
  @param string $name
  Setting name.
  @param mixed $default
  (optional) Default value when setting is not in file.
  
  @return mixed
  Setting value.