You are here

public function ValidatorBuilderInterface::addYamlMappings in Zircon Profile 8

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

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 vendor/symfony/validator/ValidatorBuilder.php
Adds a list of YAML constraint mappings file to the validator.

File

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

Class

ValidatorBuilderInterface
A configurable builder for ValidatorInterface objects.

Namespace

Symfony\Component\Validator

Code

public function addYamlMappings(array $paths);