1 | <?php |
||
13 | class Consumer implements ConsumerInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var ConnectionInterface |
||
17 | */ |
||
18 | private $connection; |
||
19 | |||
20 | /** |
||
21 | * @var QueueDeclarer |
||
22 | */ |
||
23 | private $queueDeclarer; |
||
24 | |||
25 | /** |
||
26 | * @var ChannelInterface |
||
27 | */ |
||
28 | private $channel; |
||
29 | |||
30 | /** |
||
31 | * @var callable |
||
32 | */ |
||
33 | private $callback; |
||
34 | |||
35 | /** |
||
36 | * @var callable |
||
37 | */ |
||
38 | private $restartCheckCallable; |
||
39 | |||
40 | 4 | public function __construct(ConnectionInterface $connection, QueueDeclarer $queueDeclarer, string $channelId = '') |
|
46 | |||
47 | 1 | public function setCallback(callable $callback = null) |
|
51 | |||
52 | 1 | public function setRestartCheckCallable(callable $callable) |
|
56 | |||
57 | 2 | public function consume(Consumable $consumable) |
|
67 | |||
68 | public function complete(QueuedMessageInterface $message) |
||
76 | |||
77 | /** |
||
78 | * @return QueuedMessage|null |
||
79 | */ |
||
80 | 1 | public function getMessage(Consumable $consumable) |
|
89 | |||
90 | 1 | public function getChannel() : ChannelInterface |
|
94 | |||
95 | 1 | public function process(AMQPMessage $message) |
|
103 | |||
104 | 1 | public function getSize($queue) : int |
|
115 | |||
116 | 1 | private function checkRestart(QueuedMessageInterface $queuedMessage) |
|
122 | } |
||
123 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.