Symfony\Component\Validator\ValidatorBuilderInterface::addMethodMapping
Enables constraint mapping using the given static method.
Signature
public function addMethodMapping(string
$methodName )
Parameters
$methodName
— string- The name of the method.
Returns
- ValidatorBuilderInterface
- The builder object.