protected function storeEntityInIdentityMap(SFM_Entity $eEntity) { $arrTuple = $eEntity->getTuple(); $arrIndexValues = array(); foreach ($this->arrIndexes as $index) { if (isset($arrTuple[$index])) { $arrIndexValues[$index] = $arrTuple[$index]; } } $this->identityMap->put($this->member, $eEntity, $arrIndexValues); }