Total Complexity | 2 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
10 | class Instances extends Availability |
||
11 | { |
||
12 | /** |
||
13 | * Retrieve an instance |
||
14 | * Retrieve the details of a specific instance. |
||
15 | * |
||
16 | * @param string $instance_id The Instance Id |
||
17 | * |
||
18 | * @return $this |
||
19 | */ |
||
20 | 3 | public function __invoke(string $instance_id): self |
|
30 | } |
||
31 | |||
32 | /** |
||
33 | * Retrieve instance pricing |
||
34 | * Retrieve the pricing for an instance for the quantities passed. |
||
35 | * |
||
36 | * @param null|Pricing $pricing |
||
37 | * |
||
38 | * @return $this |
||
39 | */ |
||
40 | 1 | public function pricing(Pricing $pricing): self |
|
56 |