Total Complexity | 6 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 33.33% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
9 | final class NativeSessionUserProvider implements UserProvider |
||
10 | { |
||
11 | private $factory; |
||
12 | |||
13 | 2 | public function __construct(UserFactory $factory) |
|
16 | } |
||
17 | |||
18 | 1 | public function retrieveByCredentials(array $session) |
|
19 | { |
||
20 | 1 | return $this->factory->make($session); |
|
21 | } |
||
22 | |||
23 | /** @phpstan-ignore-next-line */ |
||
24 | public function retrieveById($identifier) |
||
25 | {} |
||
26 | |||
27 | /** @phpstan-ignore-next-line */ |
||
28 | public function retrieveByToken($identifier, $token) |
||
30 | |||
31 | public function updateRememberToken(LaravelAuthenticatable $user, $token) |
||
33 | |||
34 | /** @phpstan-ignore-next-line */ |
||
35 | public function validateCredentials(LaravelAuthenticatable $user, array $credentials) |
||
37 | } |