| 1 | <?php |
||
| 23 | abstract class AbstractUserProvider implements UserProviderInterface |
||
| 24 | { |
||
| 25 | protected $repository; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Dependency Injection constructor. |
||
| 29 | * |
||
| 30 | * @param UserRepositoryInterface $repository |
||
| 31 | */ |
||
| 32 | 5 | public function __construct(UserRepositoryInterface $repository) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | 2 | public function loadUserByUsername($username) |
|
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | 3 | public function refreshUser(UserInterface $user) |
|
| 68 | } |
||
| 69 |