-
- /**
- * 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
- *
- * @deprecated since version 2.5, to be removed in 3.0.
- */
- public function accept(ValidationVisitorInterface $visitor, $value, $group, $propertyPath)
- {
- throw new BadMethodCallException('Not supported.');
- }