1 | <?php |
||
9 | final class CommandsListToCommandJobStrategy implements QueueProducerStrategyInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | private $queue; |
||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $exchange; |
||
19 | /** |
||
20 | * @var array |
||
21 | */ |
||
22 | private $commandsClasses; |
||
23 | /** |
||
24 | * @var int |
||
25 | */ |
||
26 | private $delaySeconds; |
||
27 | |||
28 | 2 | public function __construct(string $queue, string $exchange, array $commandsClasses = [], int $delaySeconds = 0) |
|
35 | |||
36 | 2 | public function produceQueues($command): array |
|
52 | } |
||
53 |