| 1 | <?php |
||
| 19 | class UserProvider implements UserProviderInterface |
||
| 20 | { |
||
| 21 | /** @var EntityManagerInterface */ |
||
| 22 | private $entityManager; |
||
| 23 | |||
| 24 | 21 | public function __construct(EntityManagerInterface $entityManager) |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @param string $username The username |
||
| 31 | */ |
||
| 32 | public function loadUserByUsername($username): UserInterface |
||
| 42 | |||
| 43 | 17 | public function refreshUser(UserInterface $user): UserInterface |
|
| 53 | |||
| 54 | /** |
||
| 55 | * @param string $class |
||
| 56 | */ |
||
| 57 | public function supportsClass($class): bool |
||
| 61 | } |
||
| 62 |