Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class Repository implements AdapterInterface |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * container |
||
13 | * |
||
14 | * @var Container |
||
15 | */ |
||
16 | protected $container; |
||
17 | |||
18 | /** |
||
19 | * instanciate |
||
20 | * |
||
21 | * @param Container $container |
||
22 | */ |
||
23 | 2 | public function __construct(Container $container) |
|
24 | { |
||
25 | 2 | $this->container = $container; |
|
26 | } |
||
27 | |||
28 | /** |
||
29 | * auth process |
||
30 | * |
||
31 | * @return array |
||
32 | */ |
||
33 | 1 | public function auth(string $login, string $password): array |
|
36 | } |
||
37 | } |
||
38 |