InvalidModelException
extends RuntimeException
in package
Exception thrown when a model class does not pass validation
Table of Contents
Properties
- $violations : ConstraintViolationListInterface
Methods
- __construct() : mixed
- Class constructor
Properties
$violations read-only
public
ConstraintViolationListInterface
$violations
Methods
__construct()
Class constructor
public
__construct(ConstraintViolationListInterface $violations) : mixed
Parameters
- $violations : ConstraintViolationListInterface
-
Constraint violations