Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/validator/Constraints/EmailValidator.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 /** | 21 /** |
22 * @author Bernhard Schussek <bschussek@gmail.com> | 22 * @author Bernhard Schussek <bschussek@gmail.com> |
23 */ | 23 */ |
24 class EmailValidator extends ConstraintValidator | 24 class EmailValidator extends ConstraintValidator |
25 { | 25 { |
26 /** | |
27 * @var bool | |
28 */ | |
29 private $isStrict; | 26 private $isStrict; |
30 | 27 |
28 /** | |
29 * @param bool $strict | |
30 */ | |
31 public function __construct($strict = false) | 31 public function __construct($strict = false) |
32 { | 32 { |
33 $this->isStrict = $strict; | 33 $this->isStrict = $strict; |
34 } | 34 } |
35 | 35 |