1 | <?php |
||
7 | class SqsJob implements JobInterface |
||
8 | { |
||
9 | /** @var \Aws\Sqs\SqsClient */ |
||
10 | protected $client; |
||
11 | |||
12 | /** @var string */ |
||
13 | protected $url; |
||
14 | |||
15 | /** @var string */ |
||
16 | protected $body; |
||
17 | |||
18 | /** @var string */ |
||
19 | protected $handle; |
||
20 | |||
21 | /** |
||
22 | * @param \Aws\Sqs\SqsClient $client |
||
23 | * @param string $url |
||
24 | * @param string $handle |
||
25 | * @param string $body |
||
26 | */ |
||
27 | public function __construct(SqsClient $client, $url, $handle, $body) |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function read() |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function delete() |
||
53 | } |
||
54 |