@@ 45-53 (lines=9) @@ | ||
42 | * @param Cache $cache |
|
43 | * @param Logger $logger |
|
44 | */ |
|
45 | public function __construct($name, array $options, $client, Cache $cache, Logger $logger) |
|
46 | { |
|
47 | $this->name = $name; |
|
48 | $this->options = $options; |
|
49 | $this->cache = $cache; |
|
50 | $this->logger = $logger; |
|
51 | ||
52 | $this->setClient($client); |
|
53 | } |
|
54 | ||
55 | /** |
|
56 | * @param ProviderInterface $client |
@@ 39-51 (lines=13) @@ | ||
36 | */ |
|
37 | protected $dispatcher; |
|
38 | ||
39 | public function __construct( |
|
40 | $name, |
|
41 | array $options, |
|
42 | $client, |
|
43 | Cache $cache, |
|
44 | Logger $logger |
|
45 | ) { |
|
46 | $this->name = $name; |
|
47 | $this->options = $options; |
|
48 | $this->dispatcher = $client; |
|
49 | $this->cache = $cache; |
|
50 | $this->logger = $logger; |
|
51 | } |
|
52 | ||
53 | public function getProvider() |
|
54 | { |
@@ 58-65 (lines=8) @@ | ||
55 | */ |
|
56 | private $reservedMessages = []; |
|
57 | ||
58 | public function __construct($name, array $options, $client, Cache $cache, Logger $logger) |
|
59 | { |
|
60 | $this->name = $name; |
|
61 | $this->options = $options; |
|
62 | $this->ironmq = $client; |
|
63 | $this->cache = $cache; |
|
64 | $this->logger = $logger; |
|
65 | } |
|
66 | ||
67 | public function getProvider() |
|
68 | { |