public function addSetting(RoleSettingInterface $setting) { $this->settings->set($setting->getKey(), $setting); return $this; }