1 | <?php |
||
8 | class QueueVoterResolver implements QueueResolverInterface |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * @var QueueVoterInterface[] |
||
13 | */ |
||
14 | private $voters = [ ]; |
||
15 | |||
16 | 4 | public function __construct(array $voters) |
|
22 | |||
23 | 2 | public function resolveQueueName($command): string |
|
31 | |||
32 | /** |
||
33 | * @param mixed $command |
||
34 | * @return QueueVote[] |
||
35 | */ |
||
36 | 2 | public function getVotes($command): array |
|
50 | } |
||
51 |