Gets the constraint violations.
\Symfony\Component\Validator\ConstraintViolationListInterface The constraint violations.
public function getViolations() : ConstraintViolationListInterface { return $this->violations; }