PHP Class MGDigital\BusQue\QueueResolver\QueueVoterResolver

Inheritance: implements MGDigital\BusQue\QueueResolverInterface
Show file Open project: mgdigital/busque

Public Methods

Method Description
__construct ( array $voters )
getVotes ( mixed $command ) : array
resolveQueueName ( $command ) : string

Method Details

__construct() public method

public __construct ( array $voters )
$voters array

getVotes() public method

public getVotes ( mixed $command ) : array
$command mixed
return array

resolveQueueName() public method

public resolveQueueName ( $command ) : string
return string