Symfony\Component\Validator\ValidatorBuilderInterface::addMethodMappings
Enables constraint mapping using the given static methods.
Signature
public function addMethodMappings(array
$methodNames )
Parameters
$methodNames
— array- The names of the methods.
Returns
- ValidatorBuilderInterface
- The builder object.