You are here

public function GenericMetadata::accept in Zircon Profile 8

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

Exists for compatibility with the deprecated {@link Symfony\Component\Validator\MetadataInterface}.

Should not be used.

Implemented for backward compatibility with Symfony < 2.5.

Throws

BadMethodCallException

Overrides MetadataInterface::accept

Deprecated

since version 2.5, to be removed in 3.0.

2 methods override GenericMetadata::accept()
ClassMetadata::accept in vendor/symfony/validator/Mapping/ClassMetadata.php
MemberMetadata::accept in vendor/symfony/validator/Mapping/MemberMetadata.php

File

vendor/symfony/validator/Mapping/GenericMetadata.php, line 241

Class

GenericMetadata
A generic container of {@link Constraint} objects.

Namespace

Symfony\Component\Validator\Mapping

Code

public function accept(ValidationVisitorInterface $visitor, $value, $group, $propertyPath) {
  throw new BadMethodCallException('Not supported.');
}