Total Complexity | 3 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class Account implements CloudApi |
||
14 | { |
||
15 | |||
16 | /** @var ClientInterface The API client. */ |
||
17 | protected $client; |
||
18 | |||
19 | /** |
||
20 | * Client constructor. |
||
21 | * |
||
22 | * @param ClientInterface $client |
||
23 | */ |
||
24 | public function __construct(ClientInterface $client) |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Returns details about your account. |
||
31 | * |
||
32 | * @return AccountResponse |
||
33 | */ |
||
34 | public function get() |
||
35 | { |
||
36 | return new AccountResponse($this->client->request('get', '/account')); |
||
|
|||
37 | } |
||
38 | |||
39 | /** |
||
40 | * Provides an archived set of files for Acquia Drush aliases. |
||
41 | * |
||
42 | * @return object |
||
43 | */ |
||
44 | public function getDrushAliases() |
||
47 | } |
||
48 | } |
||
49 |