Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
14 | final class DolibarrApiKeyRequester |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * @var LoginService |
||
19 | */ |
||
20 | private $loginService; |
||
21 | |||
22 | /** |
||
23 | * @var Authentication |
||
24 | */ |
||
25 | private $authentication; |
||
26 | |||
27 | /** |
||
28 | * @param LoginService $loginService |
||
29 | * @param Authentication $authentication |
||
30 | */ |
||
31 | public function __construct(LoginService $loginService, Authentication $authentication) |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @return Authentication |
||
39 | * |
||
40 | * @throws ApiException |
||
41 | */ |
||
42 | public function request() |
||
53 |