public function ClassMetadata::hasMemberMetadatas

Returns true if metadatas of members is present for the given property.

Parameters

string $property The name of the property:

Return value

Boolean

File

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

Class

ClassMetadata
Represents all the configured constraints on a given class.

Namespace

Symfony\Component\Validator\Mapping

Code

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