/** * Tell the id resolver to defer our caught updates until they can be resolved * * @param mixed $repository Target repository * @param mixed $primaryKey Primary key of the created entity * @param array $createdEntity The created entity */ protected function deferUpdates($repository, $primaryKey, array $createdEntity) { foreach ($this->updatesToDefer as $updateToDefer) { $this->idResolver->defer($updateToDefer["internalId"], $repository, $primaryKey, $updateToDefer["fullDotPath"], $createdEntity, $updateToDefer["fallback"]); } }