public function save($values) { $section = $this->load(); foreach ($values as $key => $value) { $section[$key] = $value; } $config = $this->getConfig(); $config->{$this->section} = $section; $config->forceSave(); }