docs
docs copied to clipboard
Documentation use the `eraseCredentials` deprecated method.
Since https://github.com/symfony/symfony/pull/59682 the eraseCredentials method is deprecated.
So the following page need to be updated https://api-platform.com/docs/symfony/user/#user-entity-with-symfony
https://api-platform.com/docs/symfony/user/#creating-the-entity-and-repository
-> We have an implementation of the eraseCredentials method
https://api-platform.com/docs/symfony/user/#creating-and-updating-user-password
-> Use the eraseCredentials method
I'm not sure what's the right way to do it now.