You are here

public function ValidatorBuilderInterface::addYamlMappings in Plug 7

Adds a list of YAML constraint mappings file to the validator.

Parameters

array $paths The paths to the mapping files:

Return value

ValidatorBuilderInterface The builder object

1 method overrides ValidatorBuilderInterface::addYamlMappings()
ValidatorBuilder::addYamlMappings in lib/Symfony/validator/Symfony/Component/Validator/ValidatorBuilder.php
Adds a list of YAML constraint mappings file to the validator.

File

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

Class

ValidatorBuilderInterface
A configurable builder for ValidatorInterface objects.

Namespace

Symfony\Component\Validator

Code

public function addYamlMappings(array $paths);