Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/validator/Violation/ConstraintViolationBuilder.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 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
20 /** | 20 /** |
21 * Default implementation of {@link ConstraintViolationBuilderInterface}. | 21 * Default implementation of {@link ConstraintViolationBuilderInterface}. |
22 * | 22 * |
23 * @author Bernhard Schussek <bschussek@gmail.com> | 23 * @author Bernhard Schussek <bschussek@gmail.com> |
24 * | 24 * |
25 * @internal You should not instantiate or use this class. Code against | 25 * @internal since version 2.5. Code against ConstraintViolationBuilderInterface instead. |
26 * {@link ConstraintViolationBuilderInterface} instead. | |
27 */ | 26 */ |
28 class ConstraintViolationBuilder implements ConstraintViolationBuilderInterface | 27 class ConstraintViolationBuilder implements ConstraintViolationBuilderInterface |
29 { | 28 { |
30 /** | |
31 * @var ConstraintViolationList | |
32 */ | |
33 private $violations; | 29 private $violations; |
34 | |
35 /** | |
36 * @var string | |
37 */ | |
38 private $message; | 30 private $message; |
39 | |
40 /** | |
41 * @var array | |
42 */ | |
43 private $parameters; | 31 private $parameters; |
44 | |
45 /** | |
46 * @var mixed | |
47 */ | |
48 private $root; | 32 private $root; |
49 | |
50 /** | |
51 * @var mixed | |
52 */ | |
53 private $invalidValue; | 33 private $invalidValue; |
54 | |
55 /** | |
56 * @var string | |
57 */ | |
58 private $propertyPath; | 34 private $propertyPath; |
59 | |
60 /** | |
61 * @var TranslatorInterface | |
62 */ | |
63 private $translator; | 35 private $translator; |
64 | |
65 /** | |
66 * @var string|null | |
67 */ | |
68 private $translationDomain; | 36 private $translationDomain; |
69 | |
70 /** | |
71 * @var int|null | |
72 */ | |
73 private $plural; | 37 private $plural; |
74 | |
75 /** | |
76 * @var Constraint | |
77 */ | |
78 private $constraint; | 38 private $constraint; |
79 | |
80 /** | |
81 * @var mixed | |
82 */ | |
83 private $code; | 39 private $code; |
84 | 40 |
85 /** | 41 /** |
86 * @var mixed | 42 * @var mixed |
87 */ | 43 */ |