You are here

public function LazyLoadableObjectClassMetadata::isIdentifier in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/LazyLoadableObjectClassMetadata.php \Doctrine\Tests\Common\Proxy\LazyLoadableObjectClassMetadata::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/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\Proxy

Code

public function isIdentifier($fieldName) {
  return isset($this->identifier[$fieldName]);
}