Total Complexity | 5 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class DeleteCommand extends AbstractCommand |
||
18 | { |
||
19 | /** @var Workflow $workflow */ |
||
20 | private $workflow; |
||
21 | |||
22 | /** |
||
23 | * @param Workflow $workflow |
||
24 | */ |
||
25 | 6 | public function __construct(Workflow $workflow) |
|
26 | { |
||
27 | 6 | $this->workflow = $workflow; |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * @inheritDoc |
||
32 | */ |
||
33 | 6 | public function getGroup(): string |
|
34 | { |
||
35 | 6 | return 'workflow'; |
|
36 | } |
||
37 | |||
38 | /** |
||
39 | * @inheritDoc |
||
40 | */ |
||
41 | 6 | public function getAction(): string |
|
42 | { |
||
43 | 6 | return 'delete'; |
|
44 | } |
||
45 | |||
46 | /** |
||
47 | * @inheritDoc |
||
48 | */ |
||
49 | 6 | public function getFilters(): array |
|
53 | ]; |
||
54 | } |
||
55 | |||
56 | /** |
||
57 | * @inheritDoc |
||
58 | */ |
||
59 | 6 | public function getResponseParser() |
|
62 | } |
||
63 | } |
||
64 |