1 | <?php |
||
2 | |||
3 | namespace Bdf\QueueBundle\Tests\Fixtures; |
||
4 | |||
5 | use Bdf\Queue\Consumer\Receiver\Builder\ReceiverFactory; |
||
6 | use Bdf\Queue\Consumer\ReceiverInterface; |
||
7 | use Bdf\QueueBundle\Consumption\ReceiverFactoryProviderInterface; |
||
8 | |||
9 | class LegacyReceiverFactory implements ReceiverFactoryProviderInterface |
||
0 ignored issues
–
show
|
|||
10 | { |
||
11 | public function getReceiverNames(): array |
||
12 | { |
||
13 | return ['legacy']; |
||
14 | } |
||
15 | |||
16 | public function create(ReceiverFactory $factory, ReceiverInterface $receiver, ...$arguments): ReceiverInterface |
||
17 | { |
||
18 | return new FooReceiver($arguments); |
||
19 | } |
||
20 | } |
||
21 |
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.