Total Complexity | 4 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
19 | final class Purge implements Command |
||
20 | { |
||
21 | private $client; |
||
22 | |||
23 | 6 | public function __construct(Client $client) |
|
24 | { |
||
25 | 6 | $this->client = $client; |
|
26 | 6 | } |
|
27 | |||
28 | 3 | public function __invoke(Environment $env, Arguments $arguments, Options $options): void |
|
43 | } |
||
44 | 2 | } |
|
45 | |||
46 | 1 | public function __toString(): string |
|
49 | 1 | innmind:amqp:purge queue |
|
50 | |||
55 |