Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/validator/ConstraintViolation.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
16 * | 16 * |
17 * @author Bernhard Schussek <bschussek@gmail.com> | 17 * @author Bernhard Schussek <bschussek@gmail.com> |
18 */ | 18 */ |
19 class ConstraintViolation implements ConstraintViolationInterface | 19 class ConstraintViolation implements ConstraintViolationInterface |
20 { | 20 { |
21 /** | |
22 * @var string | |
23 */ | |
24 private $message; | 21 private $message; |
25 | |
26 /** | |
27 * @var string | |
28 */ | |
29 private $messageTemplate; | 22 private $messageTemplate; |
30 | |
31 /** | |
32 * @var array | |
33 */ | |
34 private $parameters; | 23 private $parameters; |
35 | |
36 /** | |
37 * @var int|null | |
38 */ | |
39 private $plural; | 24 private $plural; |
40 | |
41 /** | |
42 * @var mixed | |
43 */ | |
44 private $root; | 25 private $root; |
45 | |
46 /** | |
47 * @var string | |
48 */ | |
49 private $propertyPath; | 26 private $propertyPath; |
50 | |
51 /** | |
52 * @var mixed | |
53 */ | |
54 private $invalidValue; | 27 private $invalidValue; |
55 | |
56 /** | |
57 * @var Constraint|null | |
58 */ | |
59 private $constraint; | 28 private $constraint; |
60 | |
61 /** | |
62 * @var mixed | |
63 */ | |
64 private $code; | 29 private $code; |
65 | |
66 /** | |
67 * @var mixed | |
68 */ | |
69 private $cause; | 30 private $cause; |
70 | 31 |
71 /** | 32 /** |
72 * Creates a new constraint violation. | 33 * Creates a new constraint violation. |
73 * | 34 * |