1 | <?php |
||
31 | class DigitalOceanV2 |
||
32 | { |
||
33 | /** |
||
34 | * @var AdapterInterface |
||
35 | */ |
||
36 | protected $adapter; |
||
37 | |||
38 | /** |
||
39 | * @param AdapterInterface $adapter |
||
40 | */ |
||
41 | public function __construct(AdapterInterface $adapter) |
||
45 | |||
46 | /** |
||
47 | * @return Account |
||
48 | */ |
||
49 | public function account() |
||
53 | |||
54 | /** |
||
55 | * @return Action |
||
56 | */ |
||
57 | public function action() |
||
61 | |||
62 | /** |
||
63 | * @return Domain |
||
64 | */ |
||
65 | public function domain() |
||
69 | |||
70 | /** |
||
71 | * @return DomainRecord |
||
72 | */ |
||
73 | public function domainRecord() |
||
77 | |||
78 | /** |
||
79 | * @return Droplet |
||
80 | */ |
||
81 | public function droplet() |
||
85 | |||
86 | /** |
||
87 | * @return FloatingIp |
||
88 | */ |
||
89 | public function floatingIp() |
||
93 | |||
94 | /** |
||
95 | * @return Image |
||
96 | */ |
||
97 | public function image() |
||
101 | |||
102 | /** |
||
103 | * @return Key |
||
104 | */ |
||
105 | public function key() |
||
109 | |||
110 | /** |
||
111 | * @return RateLimit |
||
112 | */ |
||
113 | public function rateLimit() |
||
117 | |||
118 | /** |
||
119 | * @return Region |
||
120 | */ |
||
121 | public function region() |
||
125 | |||
126 | /** |
||
127 | * @return Size |
||
128 | */ |
||
129 | public function size() |
||
133 | } |
||
134 |