You are here

public function ClassMetadata::getMemberMetadatas 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::getMemberMetadatas()

Returns all metadatas of members describing the given property.

Parameters

string $property The name of the property:

Return value

MemberMetadata[] An array of MemberMetadata

Deprecated

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

File

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

Class

ClassMetadata
Default implementation of {@link ClassMetadataInterface}.

Namespace

Symfony\Component\Validator\Mapping

Code

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