You are here

public function ValidatorBuilderInterface::addMethodMapping in Plug 7

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 lib/Symfony/validator/Symfony/Component/Validator/ValidatorBuilder.php
Enables constraint mapping using the given static method.

File

lib/Symfony/validator/Symfony/Component/Validator/ValidatorBuilderInterface.php, line 87

Class

ValidatorBuilderInterface
A configurable builder for ValidatorInterface objects.

Namespace

Symfony\Component\Validator

Code

public function addMethodMapping($methodName);