public function ClassMetadata::hasPropertyMetadata

Check if there's any metadata attached to the given named property.

Parameters

string $property The property name.:

Return value

Boolean

Overrides PropertyMetadataContainerInterface::hasPropertyMetadata

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Mapping/ClassMetadata.php, line 307

Class

ClassMetadata
Represents all the configured constraints on a given class.

Namespace

Symfony\Component\Validator\Mapping

Code

public function hasPropertyMetadata($property) {
  return array_key_exists($property, $this->members);
}