public function ValidatorBuilderInterface::addXmlMapping in Plug 7
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 lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ValidatorBuilder.php - Adds an XML constraint mapping file to the validator.
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ValidatorBuilderInterface.php, line 51
Class
- ValidatorBuilderInterface
- A configurable builder for ValidatorInterface objects.
Namespace
Symfony\Component\ValidatorCode
public function addXmlMapping($path);