8000
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 2b75669 commit 8f2687eCopy full SHA for 8f2687e
book/security.rst
@@ -900,6 +900,11 @@ custom user class is that it implements the :class:`Symfony\\Component\\Security
900
interface. This means that your concept of a "user" can be anything, as long
901
as it implements this interface.
902
903
+.. note:
904
+
905
+ A user object must be serializable, and unserializable. For this reason, it is recommended that you turn on
906
+ eager fetching for all relationships that involve a user object.
907
908
Next, configure an ``entity`` user provider, and point it to your ``User``
909
class:
910
0 commit comments