Mercurial > hg > cmmr2012-drupal-site
comparison vendor/symfony/validator/Constraints/IdenticalTo.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | c75dbcec494b |
children |
comparison
equal
deleted
inserted
replaced
3:307d7a7fd348 | 4:a9cd425dd02b |
---|---|
20 */ | 20 */ |
21 class IdenticalTo extends AbstractComparison | 21 class IdenticalTo extends AbstractComparison |
22 { | 22 { |
23 const NOT_IDENTICAL_ERROR = '2a8cc50f-58a2-4536-875e-060a2ce69ed5'; | 23 const NOT_IDENTICAL_ERROR = '2a8cc50f-58a2-4536-875e-060a2ce69ed5'; |
24 | 24 |
25 protected static $errorNames = array( | 25 protected static $errorNames = [ |
26 self::NOT_IDENTICAL_ERROR => 'NOT_IDENTICAL_ERROR', | 26 self::NOT_IDENTICAL_ERROR => 'NOT_IDENTICAL_ERROR', |
27 ); | 27 ]; |
28 | 28 |
29 public $message = 'This value should be identical to {{ compared_value_type }} {{ compared_value }}.'; | 29 public $message = 'This value should be identical to {{ compared_value_type }} {{ compared_value }}.'; |
30 } | 30 } |