Total Complexity | 6 |
Total Lines | 57 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class UpdateCommand extends AbstractCommand implements ResponseParser |
||
18 | { |
||
19 | /** @var Workflow $workflow */ |
||
20 | private $workflow; |
||
21 | |||
22 | /** |
||
23 | * @param Workflow $workflow |
||
24 | */ |
||
25 | 1 | public function __construct(Workflow $workflow) |
|
26 | { |
||
27 | 1 | $this->workflow = $workflow; |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * @inheritDoc |
||
32 | */ |
||
33 | 1 | public function getGroup(): string |
|
34 | { |
||
35 | 1 | return 'workflow'; |
|
36 | } |
||
37 | |||
38 | /** |
||
39 | * @inheritDoc |
||
40 | */ |
||
41 | 1 | public function getAction(): string |
|
44 | } |
||
45 | |||
46 | /** |
||
47 | * @inheritDoc |
||
48 | */ |
||
49 | 1 | public function getFilters(): array |
|
57 | ]; |
||
58 | } |
||
59 | |||
60 | /** |
||
61 | * @inheritDoc |
||
62 | */ |
||
63 | 1 | public function getResponseParser() |
|
66 | } |
||
67 | |||
68 | /** |
||
69 | * @inheritDoc |
||
70 | */ |
||
71 | 1 | public function parseResponse($responseLine, $responseData) |
|
76 |