You are here

public function ValidatorBuilderInterface::addMethodMappings in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/ValidatorBuilderInterface.php \Symfony\Component\Validator\ValidatorBuilderInterface::addMethodMappings()

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 vendor/symfony/validator/ValidatorBuilder.php
Enables constraint mapping using the given static methods.

File

vendor/symfony/validator/ValidatorBuilderInterface.php, line 96

Class

ValidatorBuilderInterface
A configurable builder for ValidatorInterface objects.

Namespace

Symfony\Component\Validator

Code

public function addMethodMappings(array $methodNames);