change public $settings usage to config() for Cache namespace