public function LazyLoadableObjectClassMetadata::isIdentifier in Plug 7
Checks if the given field name is a mapped identifier for this class.
Parameters
string $fieldName:
Return value
boolean
Overrides ClassMetadata::isIdentifier
File
- lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ LazyLoadableObjectClassMetadata.php, line 95
Class
- LazyLoadableObjectClassMetadata
- Class metadata test asset for @author Marco Pivetta <ocramius@gmail.com> @since 2.4
Namespace
Doctrine\Tests\Common\ProxyCode
public function isIdentifier($fieldName) {
return isset($this->identifier[$fieldName]);
}