Adds an XML constraint mapping file to the validator.
Parameters
string $path The path to the mapping file.:
Return value
ValidatorBuilderInterface The builder object.
File
- drupal/core/vendor/symfony/validator/Symfony/Component/Validator/ValidatorBuilderInterface.php, line 50
Class
- ValidatorBuilderInterface
- A configurable builder for ValidatorInterface objects.
Namespace
Symfony\Component\Validator
Code
public function addXmlMapping($path);