| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | protected function registerQueueClient(Container $container): QueueSQSServiceProvider |
||
| 27 | { |
||
| 28 | $self = $this; |
||
| 29 | |||
| 30 | $container->offsetSet('queue_client', function (Container $container) use ($self) { |
||
| 31 | return new QueueClient( |
||
| 32 | $self->createSqsClient($container), |
||
| 33 | $container->offsetGet('message_mapper') |
||
| 34 | ); |
||
| 35 | }); |
||
| 36 | |||
| 37 | return $this; |
||
| 38 | } |
||
| 58 |