Mercurial > hg > cmmr2012-drupal-site
comparison vendor/symfony/validator/Constraints/Traverse.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 | 12f9dff5fda9 |
comparison
equal
deleted
inserted
replaced
3:307d7a7fd348 | 4:a9cd425dd02b |
---|---|
23 { | 23 { |
24 public $traverse = true; | 24 public $traverse = true; |
25 | 25 |
26 public function __construct($options = null) | 26 public function __construct($options = null) |
27 { | 27 { |
28 if (is_array($options) && array_key_exists('groups', $options)) { | 28 if (\is_array($options) && array_key_exists('groups', $options)) { |
29 throw new ConstraintDefinitionException(sprintf( | 29 throw new ConstraintDefinitionException(sprintf('The option "groups" is not supported by the constraint %s', __CLASS__)); |
30 'The option "groups" is not supported by the constraint %s', | |
31 __CLASS__ | |
32 )); | |
33 } | 30 } |
34 | 31 |
35 parent::__construct($options); | 32 parent::__construct($options); |
36 } | 33 } |
37 | 34 |