Adds a constraint violation to this list.
public function add(ConstraintViolationInterface $violation) : void;