public function ClassMetadata::getIdentifier in Plug 7
Gets the mapped identifier field name.
The returned structure is an array of the identifier field names.
Return value
array
2 methods override ClassMetadata::getIdentifier()
- LazyLoadableObjectClassMetadata::getIdentifier in lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ LazyLoadableObjectClassMetadata.php - Gets the mapped identifier field name.
- TestObjectMetadata::getIdentifier in lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ PersistentObjectTest.php - Gets the mapped identifier field name.
File
- lib/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ ClassMetadata.php, line 46
Class
- ClassMetadata
- Contract for a Doctrine persistence layer ClassMetadata class to implement.
Namespace
Doctrine\Common\Persistence\MappingCode
public function getIdentifier();