/** * {@inheritdoc} */ public function actionSave() { if ($this->once && $this->exists()) { return 0; } $this->_items = Helper::uniqueConfig($this->_items); $this->getFile()->save($this); }
public function actionSave() { $this->_items = Helper::uniqueConfig($this->_items); $this->getFile()->save($this->getItems()); return 0; }