Symfony\Component\Validator\MetadataInterface::accept
Implementation of the Visitor design pattern.
Calls and then forwards the <tt>accept()</tt>-call to all property metadata instances.
Signature
public function accept(ValidationVisitorInterface
$visitor,
mixed
$value,
array
$group,
string
$propertyPath )
Parameters
$visitor
— Symfony\Component\Validator\ValidationVisitorInterface- The visitor implementing the validation logic.
$value
— mixed- The value to validate.
$group
— array- The validation group to validate in.
$propertyPath
— string- The current property path in the validation graph.