You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is now connected to the PR #15947, which introduces slightly different changes. Nevertheless it will need a fix in the docs if the PR is accepted so please keep this issue open.
…ctrine. (mtrojanowski)
This PR was submitted for the 2.7 branch but it was merged into the 2.8 branch instead (closes#15947).
Discussion
----------
Added UserLoaderInterface for loading users through Doctrine.
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | yes
| Tests pass? | yes
| Fixed tickets | #11157
| License | MIT
| Doc PR | symfony/symfony-docs#4543
Based on the @weaverryan and @stof propositions from [this](#12733 (comment)) discussion I created a new interface in the Doctrine Bridge which can be used to more easily implement a repository capable of returning a User.
Commits
-------
a8d3d12 Added UserLoaderInterface for loading users through Doctrine.
The symfony ticket: symfony/symfony#12733
If the code is merged, in this artice http://symfony.com/doc/current/cookbook/security/entity_provider.html#authenticating-someone-with-a-custom-entity-provider the interface used by the repository should be changed to the new interface and the
supportsClass
function can be deleted from the implementation.The text was updated successfully, but these errors were encountered: