Doctrine\ORM\Mapping\ClassMetadataInfo::getSingleIdReflectionProperty
Gets the ReflectionProperty for the single identifier field.
Signature
public function getSingleIdReflectionProperty()
Returns
- ReflectionProperty
Errors/Exceptions
-
BadMethodCallException
- If the class has a composite identifier.