Thanks to visit codestin.com Credit goes to github.com
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 13acf3e commit 32a5588Copy full SHA for 32a5588
reference/constraints/UniqueEntity.rst
@@ -168,11 +168,11 @@ This method should return a countable result.
168
entityClass
169
~~~~~~~~~~~
170
171
-**type**: ``string`` **default**: ``null``
172
-
173
.. versionadded:: 3.2
174
The ``entityClass`` option was introduced in Symfony 3.2.
175
+**type**: ``string``
+
176
By default, the query performed to ensure the uniqueness uses the repository of
177
the current class instance. However, in some cases, such as when using Doctrine
178
inheritance mapping, you need to execute the query in a different repository.
0 commit comments