Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/validator/ConstraintValidator.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 |
---|---|
21 abstract class ConstraintValidator implements ConstraintValidatorInterface | 21 abstract class ConstraintValidator implements ConstraintValidatorInterface |
22 { | 22 { |
23 /** | 23 /** |
24 * Whether to format {@link \DateTime} objects as RFC-3339 dates | 24 * Whether to format {@link \DateTime} objects as RFC-3339 dates |
25 * ("Y-m-d H:i:s"). | 25 * ("Y-m-d H:i:s"). |
26 * | |
27 * @var int | |
28 */ | 26 */ |
29 const PRETTY_DATE = 1; | 27 const PRETTY_DATE = 1; |
30 | 28 |
31 /** | 29 /** |
32 * Whether to cast objects with a "__toString()" method to strings. | 30 * Whether to cast objects with a "__toString()" method to strings. |
33 * | |
34 * @var int | |
35 */ | 31 */ |
36 const OBJECT_TO_STRING = 2; | 32 const OBJECT_TO_STRING = 2; |
37 | 33 |
38 /** | 34 /** |
39 * @var ExecutionContextInterface | 35 * @var ExecutionContextInterface |