/** * {@inheritdoc} */ public function isSingleValuedAssociation($fieldName) { if (!isset($this->associationMappings[$fieldName])) { throw new \InvalidArgumentException(sprintf('Association name expected, "%s" is not an association.', $fieldName)); } return parent::isSingleValuedAssociation($fieldName); }