/** * Stores the association mapping. * * @param AssociationMapping $assocMapping */ protected function _storeAssociationMapping(array $assocMapping) { parent::_storeAssociationMapping($assocMapping); // Store ReflectionProperty of mapped field $sourceFieldName = $assocMapping['fieldName']; $refProp = $this->reflClass->getProperty($sourceFieldName); $refProp->setAccessible(true); $this->reflFields[$sourceFieldName] = $refProp; }