| Total Complexity | 8 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class CloneCommand extends LinodeResourceCommand |
||
| 8 | { |
||
| 9 | public function resourcePath() |
||
| 10 | { |
||
| 11 | return 'clone'; |
||
| 12 | } |
||
| 13 | |||
| 14 | public function at(string $region) |
||
| 15 | { |
||
| 16 | return $this->attachPayload('region', $region); |
||
| 17 | } |
||
| 18 | |||
| 19 | public function withType(string $type) |
||
| 22 | } |
||
| 23 | |||
| 24 | public function identifiedAs(string $label) |
||
| 27 | } |
||
| 28 | |||
| 29 | public function grouppedBy(string $group) |
||
| 32 | } |
||
| 33 | |||
| 34 | public function withBackup(bool $withBackup = true) |
||
| 37 | } |
||
| 38 | |||
| 39 | public function withDisks(array $disks) |
||
| 40 | { |
||
| 41 | return $this->attachPayload('disks', $disks); |
||
| 42 | } |
||
| 43 | |||
| 44 | public function withConfigs(array $configs) |
||
| 47 | } |
||
| 48 | } |
||
| 49 |