You are here

public function ValidatorBuilderInterface::addMethodMappings in Plug 7

Enables constraint mapping using the given static methods.

Parameters

array $methodNames The names of the methods:

Return value

ValidatorBuilderInterface The builder object

1 method overrides ValidatorBuilderInterface::addMethodMappings()
ValidatorBuilder::addMethodMappings in lib/Symfony/validator/Symfony/Component/Validator/ValidatorBuilder.php
Enables constraint mapping using the given static methods.

File

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

Class

ValidatorBuilderInterface
A configurable builder for ValidatorInterface objects.

Namespace

Symfony\Component\Validator

Code

public function addMethodMappings(array $methodNames);