@@ 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 |
@@ 53-60 (lines=8) @@ | ||
50 | */ |
|
51 | private $queue; |
|
52 | ||
53 | public function __construct($name, array $options, $client, Cache $cache, Logger $logger) |
|
54 | { |
|
55 | $this->name = $name; |
|
56 | $this->options = $options; |
|
57 | $this->ironmq = $client; |
|
58 | $this->cache = $cache; |
|
59 | $this->logger = $logger; |
|
60 | } |
|
61 | ||
62 | public function getProvider() |
|
63 | { |
@@ 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 | { |