protected function run() { foreach ($this->input as $key => $value) { $key = 'o_' . $key; if ($this->config->has($key)) { $this->config->set($key, $value); $this->raise(new OptionWasChanged($key, $value)); } } $this->config->save(); }