| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function register(ContainerInterface $app) |
||
| 16 | { |
||
| 17 | $app->closure(PheanstalkInterface::class, function () { |
||
| 18 | return new SqsClient([ |
||
| 19 | 'version' => 'latest', |
||
| 20 | 'credentials' => [ |
||
| 21 | 'key' => config('aws.sqs.key'), |
||
| 22 | 'secret' => config('aws.sqs.secret'), |
||
| 23 | ], |
||
| 24 | 'region' => config('aws.sqs.region'), |
||
| 25 | ]); |
||
| 26 | }); |
||
| 27 | } |
||
| 28 | |||
| 36 |