If no validation is necessary, the returned validator is empty.
public getBaseValidatorConjunction ( string $targetClassName, array $validationGroups = ['Default'] ) : |
||
$targetClassName | string | Fully qualified class name of the target class, ie. the class which should be validated |
$validationGroups | array | The validation groups to build the validator for |
Résultat | The validator conjunction |