1 | <?php |
||
19 | class AMQPMessageIterator implements MessageIteratorInterface |
||
20 | { |
||
21 | /** |
||
22 | * @deprecated since 3.2, will be removed in 4.x |
||
23 | * |
||
24 | * @var AMQPChannel |
||
25 | */ |
||
26 | protected $channel; |
||
27 | |||
28 | /** |
||
29 | * @var mixed |
||
30 | */ |
||
31 | protected $message; |
||
32 | |||
33 | /** |
||
34 | * @deprecated since 3.2, will be removed in 4.x |
||
35 | * |
||
36 | * @var AMQPMessage |
||
37 | */ |
||
38 | protected $AMQMessage; |
||
39 | |||
40 | /** |
||
41 | * @deprecated since 3.2, will be removed in 4.x |
||
42 | * |
||
43 | * @var string |
||
44 | */ |
||
45 | protected $queue; |
||
46 | |||
47 | /** |
||
48 | * @var int |
||
49 | */ |
||
50 | protected $counter; |
||
51 | |||
52 | /** |
||
53 | * @var \Interop\Amqp\AmqpMessage |
||
54 | */ |
||
55 | private $interopMessage; |
||
|
|||
56 | |||
57 | /** |
||
58 | * @var int |
||
59 | */ |
||
60 | private $timeout; |
||
61 | |||
62 | /** |
||
63 | * @var AmqpConsumer |
||
64 | */ |
||
65 | private $consumer; |
||
66 | |||
67 | /** |
||
68 | * @var bool |
||
69 | */ |
||
70 | private $isValid; |
||
71 | |||
72 | public function __construct(AMQPChannel $channel, AmqpConsumer $consumer) |
||
82 | |||
83 | /** |
||
84 | * {@inheritdoc} |
||
85 | */ |
||
86 | public function current() |
||
90 | |||
91 | /** |
||
92 | * {@inheritdoc} |
||
93 | */ |
||
94 | public function next() |
||
117 | |||
118 | /** |
||
119 | * {@inheritdoc} |
||
120 | */ |
||
121 | public function key() |
||
125 | |||
126 | /** |
||
127 | * {@inheritdoc} |
||
128 | */ |
||
129 | public function valid() |
||
133 | |||
134 | /** |
||
135 | * {@inheritdoc} |
||
136 | */ |
||
137 | public function rewind() |
||
142 | |||
143 | /** |
||
144 | * @deprecated since 3.2, will be removed in 4.x |
||
145 | * |
||
146 | * @param \Interop\Amqp\AmqpMessage $amqpMessage |
||
147 | * |
||
148 | * @return AMQPMessage |
||
149 | */ |
||
150 | private function convertToAmqpLibMessage(\Interop\Amqp\AmqpMessage $amqpMessage) |
||
166 | } |
||
167 |
This check marks private properties in classes that are never used. Those properties can be removed.