Conditions | 1 |
Paths | 1 |
Total Lines | 20 |
Code Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public static function create($login, $password) |
||
26 | { |
||
27 | $httpClient = new GuzzleHttpClient( |
||
28 | new Client(['auth' => [$login, $password]]) |
||
29 | ); |
||
30 | |||
31 | return new Api( |
||
32 | $httpClient, |
||
33 | new Cards($httpClient), |
||
34 | new Collections($httpClient), |
||
35 | new Columns($httpClient), |
||
36 | new Comments($httpClient), |
||
37 | new Organizations($httpClient), |
||
38 | new Tags($httpClient), |
||
39 | new TaskLists($httpClient), |
||
40 | new Tasks($httpClient), |
||
41 | new Users($httpClient), |
||
42 | new Widgets($httpClient) |
||
43 | ); |
||
44 | } |
||
45 | |||
60 |