src/Validator/Constraints/NotBlankOrWhitespaceValidator.php
public function validate($value, Constraint $constraint)
    {
        $value = trim($value);

        parent::validate($value, $constraint);
    }
public function validate($value, Constraint $constraint)
    {
        $value = trim($value);

        parent::validate($value, $constraint);
    }
public function validate ( $ value , Constraint $ constraint ) { $ value = trim ( $ value ) ; parent :: validate ( $ value , $ constraint ) ; }
Trim value before passing to NotBlankValidator

{@inheritdoc}

@param  string     $value      Value to validate
@param  Constraint $constraint Constraint object
Trim value before passing to NotBlankValidator