Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
38 | protected function deleteElement($url, $vhost, $name, $elementType) |
||
39 | { |
||
40 | $response = $this->client->query(ClientInterface::METHOD_DELETE, sprintf('%s/%s/%s', $url, $vhost, $name)); |
||
41 | |||
42 | $this->logger->info( |
||
43 | sprintf('Delete %s <info>%s</info> from vhost <info>%s</info>', $elementType, $name, urldecode($vhost))); |
||
44 | |||
45 | return $response; |
||
46 | } |
||
47 | } |
||
48 |