Symfony\Component\Validator\ValidatorBuilderInterface::addYamlMapping
Adds a YAML constraint mapping file to the validator.
Signature
public function addYamlMapping(string
$path )
Parameters
$path
— string- The path to the mapping file.
Returns
- ValidatorBuilderInterface
- The builder object.