You are here

public function ValidatorBuilderInterface::addXmlMappings in Plug 7

Adds a list of XML constraint mapping files to the validator.

Parameters

array $paths The paths to the mapping files:

Return value

ValidatorBuilderInterface The builder object

1 method overrides ValidatorBuilderInterface::addXmlMappings()
ValidatorBuilder::addXmlMappings in lib/Symfony/validator/Symfony/Component/Validator/ValidatorBuilder.php
Adds a list of XML constraint mapping files to the validator.

File

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

Class

ValidatorBuilderInterface
A configurable builder for ValidatorInterface objects.

Namespace

Symfony\Component\Validator

Code

public function addXmlMappings(array $paths);