EntityUserProvider

EntityUserProvider

class EntityUserProvider implements UserProviderInterface

Wrapper around a Doctrine ObjectManager.

Provides easy to use provisioning for Doctrine entity users.

Methods

__construct(ManagerRegistry $registry, $classOrAlias, $property = null, $managerName = null)
UserInterface loadUserByUsername(string $username)

Loads the user for the given username.

登录查看完整内容