Enables constraint mapping using the given static methods.
Parameters
array $methodNames The names of the methods.:
Return value
ValidatorBuilderInterface The builder object.
File
- drupal/core/vendor/symfony/validator/Symfony/Component/Validator/ValidatorBuilderInterface.php, line 95
Class
- ValidatorBuilderInterface
- A configurable builder for ValidatorInterface objects.
Namespace
Symfony\Component\Validator
Code
public function addMethodMappings(array $methodNames);