1 | <?php |
||
9 | class BeanstalkdAdapter implements AdapterInterface |
||
10 | { |
||
11 | /** @var \Pheanstalk\PheanstalkInterface */ |
||
12 | protected $client; |
||
13 | |||
14 | /** |
||
15 | * @param \Pheanstalk\PheanstalkInterface $client |
||
16 | */ |
||
17 | public function __construct(PheanstalkInterface $client) |
||
21 | |||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | public function enqueue(SerializerInterface $serializer, $payload) |
||
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | public function dequeue(SerializerInterface $serializer) |
||
41 | } |
||
42 |