| Total Complexity | 8 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class ListIpAddressesCommand extends ListResourcesCommand |
||
| 11 | { |
||
| 12 | protected function itemsKey() |
||
| 13 | { |
||
| 14 | return ''; |
||
| 15 | } |
||
| 16 | |||
| 17 | public function resourcePath() |
||
| 18 | { |
||
| 19 | return 'ips'; |
||
| 20 | } |
||
| 21 | |||
| 22 | public function resourceClass() |
||
| 23 | { |
||
| 24 | return IpAddress::class; |
||
| 25 | } |
||
| 26 | |||
| 27 | protected function getItemsFromJsonResponse(array $json) |
||
| 30 | } |
||
| 31 | |||
| 32 | protected function createResourcesFromJsonData(array $data, ResponseInterface $response, ApiResourceInterface $owner) |
||
| 57 | } |
||
| 58 | } |
||
| 59 |