You are here

public function ClassMetadata::hasMemberMetadatas in Plug 7

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

Parameters

string $property The name of the property:

Return value

bool

Deprecated

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

File

lib/Symfony/validator/Symfony/Component/Validator/Mapping/ClassMetadata.php, line 390

Class

ClassMetadata
Default implementation of {@link ClassMetadataInterface}.

Namespace

Symfony\Component\Validator\Mapping

Code

public function hasMemberMetadatas($property) {
  return $this
    ->hasPropertyMetadata($property);
}