Adds a YAML 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 68
Class
- ValidatorBuilderInterface
- A configurable builder for ValidatorInterface objects.
Namespace
Symfony\Component\Validator
Code
public function addYamlMapping($path);