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.
File
- drupal/core/vendor/symfony/validator/Symfony/Component/Validator/ValidatorBuilderInterface.php, line 59
Class
- ValidatorBuilderInterface
- A configurable builder for ValidatorInterface objects.
Namespace
Symfony\Component\Validator
Code
public function addXmlMappings(array $paths);