Total Complexity | 6 |
Total Lines | 56 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class PutCommand extends AbstractCommand implements \Pheanstalk\ResponseParser |
||
19 | { |
||
20 | |||
21 | /** @var Workflow $workflow */ |
||
22 | private $workflow; |
||
23 | |||
24 | /** |
||
25 | * Puts a workflow in queue. |
||
26 | * |
||
27 | * @param Workflow $workflow The Workflow |
||
28 | */ |
||
29 | 6 | public function __construct(Workflow $workflow) |
|
32 | } |
||
33 | |||
34 | /** |
||
35 | * @inheritDoc |
||
36 | */ |
||
37 | 6 | public function getGroup(): string |
|
38 | { |
||
39 | 6 | return 'instance'; |
|
40 | } |
||
41 | |||
42 | /** |
||
43 | * @inheritDoc |
||
44 | */ |
||
45 | 6 | public function getAction(): string |
|
48 | } |
||
49 | |||
50 | /** |
||
51 | * @inheritDoc |
||
52 | */ |
||
53 | 6 | public function getFilters(): array |
|
57 | ]; |
||
58 | } |
||
59 | |||
60 | /** |
||
61 | * @inheritDoc |
||
62 | */ |
||
63 | 6 | public function getResponseParser() |
|
66 | } |
||
67 | |||
68 | /** |
||
69 | * @inheritDoc |
||
70 | */ |
||
71 | 6 | public function parseResponse($responseLine, $responseData) |
|
74 | } |
||
75 | } |
||
76 |