protected function save() { if ($this->store instanceof Saveable) { $this->store->save(); } }
protected function saveStore($force = false) { if (($this->flag > 0 || $force) && $this->store instanceof Saveable) { $this->store->save(); } }