Exemple #1
0
 /**
  * @param mixed $model
  */
 protected function scheduleForUpdateIfSupported($model)
 {
     if ($this->storage->support($model)) {
         $modelHash = spl_object_hash($model);
         if (array_key_exists($modelHash, $this->scheduledForUpdateModels)) {
             return;
         }
         $this->scheduledForUpdateModels[$modelHash] = $model;
     }
 }