public function getAssociationMappedByTargetField($assocName) { return $this->associationsMappings[$assocName]['mappedBy']; }