Doctrine\ORM\Mapping\MappingException::duplicateFieldMapping
Signature
public function duplicateFieldMapping(string
$entity,
string
$fieldName )
Parameters
$entity
— string- The entity's name
$fieldName
— string- The name of the field that was already declared