You are here

public function ClassMetadata::hasMemberMetadatas in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Mapping/ClassMetadata.php \Symfony\Component\Validator\Mapping\ClassMetadata::hasMemberMetadatas()

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

Parameters

string $property The name of the property:

Return value

bool

Deprecated

since version 2.6, to be removed in 3.0. Use {@link hasPropertyMetadata} instead.

File

vendor/symfony/validator/Mapping/ClassMetadata.php, line 394

Class

ClassMetadata
Default implementation of {@link ClassMetadataInterface}.

Namespace

Symfony\Component\Validator\Mapping

Code

public function hasMemberMetadatas($property) {
  @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.6 and will be removed in 3.0. Use the hasPropertyMetadata() method instead.', E_USER_DEPRECATED);
  return $this
    ->hasPropertyMetadata($property);
}