File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/Symfony/Component/Validator/Constraints Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ public function __construct(
54
54
?array $ groups = null ,
55
55
mixed $ payload = null ,
56
56
?bool $ requireTld = null ,
57
+ ?string $ tldMessage = null ,
57
58
) {
58
59
parent ::__construct ($ options , $ groups , $ payload );
59
60
@@ -66,6 +67,7 @@ public function __construct(
66
67
$ this ->relativeProtocol = $ relativeProtocol ?? $ this ->relativeProtocol ;
67
68
$ this ->normalizer = $ normalizer ?? $ this ->normalizer ;
68
69
$ this ->requireTld = $ requireTld ?? $ this ->requireTld ;
70
+ $ this ->tldMessage = $ tldMessage ?? $ this ->tldMessage ;
69
71
70
72
if (null !== $ this ->normalizer && !\is_callable ($ this ->normalizer )) {
71
73
throw new InvalidArgumentException (sprintf ('The "normalizer" option must be a valid callable ("%s" given). ' , get_debug_type ($ this ->normalizer )));
You can’t perform that action at this time.
0 commit comments