Enables constraint mapping using the given static method.
Parameters
string $methodName The name of the method.:
Return value
ValidatorBuilderInterface The builder object.
File
- drupal/core/vendor/symfony/validator/Symfony/Component/Validator/ValidatorBuilderInterface.php, line 86
Class
- ValidatorBuilderInterface
- A configurable builder for ValidatorInterface objects.
Namespace
Symfony\Component\Validator
Code
public function addMethodMapping($methodName);