class InMemoryUserProvider implements UserProviderInterface
InMemoryUserProvider is a simple non persistent user provider. Useful for testing, demonstration, prototyping, and for simple needs (a backend with a unique admin for instance)
Methods
__construct(array $users = array()) Constructor.
createUser(UserInterface $user) Adds a new User to the provider.
UserInterface loadUserByUsername(string $username) Loads the user for the given username.
UserInterface refreshUser(Us