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