/** * Zapiše vse spremenjene entitete in kolekcije za nadaljno obdelavo */ protected function fetchScheduledChanges() { $this->collections = array_values($this->uow->getScheduledCollectionUpdates()); $this->entities = array_merge(array_values($this->uow->getScheduledEntityInsertions()), array_values($this->uow->getScheduledEntityUpdates()), array_values($this->uow->getScheduledEntityDeletions())); }