1 | <?php |
||
9 | class NullAdapter implements AdapterInterface |
||
10 | { |
||
11 | /** @var \Aws\Sqs\SqsClient */ |
||
12 | protected $client; |
||
13 | |||
14 | /** @var string */ |
||
15 | protected $url; |
||
16 | |||
17 | /** |
||
18 | * @param string $key |
||
19 | * @param string $secret |
||
20 | * @param string $region |
||
21 | * @param string $url |
||
22 | */ |
||
23 | public function __construct($key, $secret, $region, $url) |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function enqueue(SerializerInterface $serializer, $payload) |
||
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | public function dequeue(SerializerInterface $serializer) |
||
65 | } |
||
66 |