public function TestObjectMetadata::isIdentifier in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php \Doctrine\Tests\Common\Persistence\TestObjectMetadata::isIdentifier()
Checks if the given field name is a mapped identifier for this class.
Parameters
string $fieldName:
Return value
boolean
Overrides ClassMetadata::isIdentifier
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ PersistentObjectTest.php, line 218
Class
Namespace
Doctrine\Tests\Common\PersistenceCode
public function isIdentifier($fieldName) {
return $fieldName === 'id';
}