You are here

protected function ClassMetadata::addMemberMetadata in Plug 7

Adds a member metadata.

Parameters

MemberMetadata $metadata:

Deprecated

Deprecated since version 2.6, to be removed in 3.0.

File

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

Class

ClassMetadata
Default implementation of {@link ClassMetadataInterface}.

Namespace

Symfony\Component\Validator\Mapping

Code

protected function addMemberMetadata(MemberMetadata $metadata) {
  $this
    ->addPropertyMetadata($metadata);
}