You are here

public function ValidatorBuilderInterface::addXmlMapping in Zircon Profile 8

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

Adds an XML 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::addXmlMapping()
ValidatorBuilder::addXmlMapping in vendor/symfony/validator/ValidatorBuilder.php
Adds an XML constraint mapping file to the validator.

File

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

Class

ValidatorBuilderInterface
A configurable builder for ValidatorInterface objects.

Namespace

Symfony\Component\Validator

Code

public function addXmlMapping($path);