public function clear() { $this->identityMap = $this->entityIdentifiers = $this->entityChangeSets = $this->entityStates = $this->scheduledForDirtyCheck = $this->entityInsertions = $this->entityUpdates = $this->entityDeletions = array(); }