| 1 | <?php |
||
| 11 | class ObjectUserProvider implements UserProviderInterface |
||
| 12 | { |
||
| 13 | /** @var UserRepository */ |
||
| 14 | private $userRepository; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param UserRepository $userRepository |
||
| 18 | */ |
||
| 19 | public function __construct(UserRepository $userRepository) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * {@inheritDoc} |
||
| 26 | */ |
||
| 27 | public function loadUserByUsername($username) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritDoc} |
||
| 42 | */ |
||
| 43 | public function refreshUser(UserInterface $user) |
||
| 53 | |||
| 54 | /** |
||
| 55 | * {@inheritDoc} |
||
| 56 | */ |
||
| 57 | public function supportsClass($class) |
||
| 61 | } |
||
| 62 |