public function ValidatorBuilderInterface::addMethodMapping in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/ValidatorBuilderInterface.php \Symfony\Component\Validator\ValidatorBuilderInterface::addMethodMapping()
 
Enables constraint mapping using the given static method.
Parameters
string $methodName The name of the method:
Return value
ValidatorBuilderInterface The builder object
1 method overrides ValidatorBuilderInterface::addMethodMapping()
- ValidatorBuilder::addMethodMapping in vendor/
symfony/ validator/ ValidatorBuilder.php  - Enables constraint mapping using the given static method.
 
File
- vendor/
symfony/ validator/ ValidatorBuilderInterface.php, line 87  
Class
- ValidatorBuilderInterface
 - A configurable builder for ValidatorInterface objects.
 
Namespace
Symfony\Component\ValidatorCode
public function addMethodMapping($methodName);