public function removeSetting(RoleSettingInterface $setting) { $this->settings->remove($setting->getKey()); }