diff --git a/cookbook/security/entity_provider.rst b/cookbook/security/entity_provider.rst index 98df1da6a69..125f8d6a184 100644 --- a/cookbook/security/entity_provider.rst +++ b/cookbook/security/entity_provider.rst @@ -583,6 +583,11 @@ The code below shows the implementation of the } } +.. tip:: + + Don't forget to add the repository class to the + :ref: `mapping definition of your entity `. + To finish the implementation, the configuration of the security layer must be changed to tell Symfony to use the new custom entity provider instead of the generic Doctrine entity provider. It's trivial to achieve by removing the pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy