Example #1
0
 /**
  * Refresh KEY
  * @param string $key
  * @param bool $includeLoaded refresh loaded key if instance of IModel
  */
 protected function _refreshKey(string $key, bool $includeLoaded = true)
 {
     parent::_refreshKey($key, $includeLoaded);
     if ($this->isDirty($key)) {
         unset($this->_dataDirty[$key]);
     }
 }