You are here

public function LazyLoadableObjectClassMetadata::hasField in Plug 7

Checks if the given field is a mapped property for this class.

Parameters

string $fieldName:

Return value

boolean

Overrides ClassMetadata::hasField

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Proxy/LazyLoadableObjectClassMetadata.php, line 103

Class

LazyLoadableObjectClassMetadata
Class metadata test asset for @author Marco Pivetta <ocramius@gmail.com> @since 2.4

Namespace

Doctrine\Tests\Common\Proxy

Code

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