Doctrine\ORM\Mapping\ClassMetadataInfo::_validateAndCompleteAssociationMapping
Validates & completes the basic mapping information that is common to all association mappings (one-to-one, many-ot-one, one-to-many, many-to-many).
Signature
protected function _validateAndCompleteAssociationMapping(array
$mapping )
Parameters
$mapping
— array- The mapping.
Returns
- array
- The updated mapping.
Errors/Exceptions
-
MappingException
- If something is wrong with the mapping.