You are here

public function ValidatorBuilderInterface::addYamlMapping in Zircon Profile 8

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

Adds a YAML constraint mapping file to the validator.

Parameters

string $path The path to the mapping file:

Return value

ValidatorBuilderInterface The builder object

1 method overrides ValidatorBuilderInterface::addYamlMapping()
ValidatorBuilder::addYamlMapping in vendor/symfony/validator/ValidatorBuilder.php
Adds a YAML constraint mapping file to the validator.

File

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

Class

ValidatorBuilderInterface
A configurable builder for ValidatorInterface objects.

Namespace

Symfony\Component\Validator

Code

public function addYamlMapping($path);