public function removeSetting($templateSettings) { return $this->setSettings(array_diff($this->getSettings(), array($templateSettings))); }