We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36d8d5d commit 19b7169Copy full SHA for 19b7169
src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntity.php
@@ -91,6 +91,9 @@ public function __construct(
91
$this->identifierFieldNames = $identifierFieldNames ?? $this->identifierFieldNames;
92
}
93
94
+ /**
95
+ * @deprecated since Symfony 7.4
96
+ */
97
public function getRequiredOptions(): array
98
{
99
return ['fields'];
@@ -109,6 +112,9 @@ public function getTargets(): string|array
109
112
return self::CLASS_CONSTRAINT;
110
113
111
114
115
116
117
118
public function getDefaultOption(): ?string
119
120
return 'fields';
0 commit comments