code: public function get($key, $default = null)
      {
          return array_key_exists($key, $this->configs) ? $this->configs[$key] : $default;
      }
docs: Get a setting.
  
  @param string $key
  @param mixed  $default
  
  @return mixed config setting or default when not found