| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 44 | 1 | public function build(array $config): AdapterInterface |
|
| 45 | { |
||
| 46 | 1 | $this->availabilityCheck(); |
|
| 47 | 1 | $config = array_merge($this->defaults, $config); |
|
| 48 | |||
| 49 | 1 | return new AwsS3Adapter(S3Client::factory( |
|
|
|
|||
| 50 | 1 | $config['client']), |
|
| 51 | 1 | $config['bucket'], |
|
| 52 | 1 | $config['prefix'], |
|
| 53 | $config |
||
| 54 | ); |
||
| 57 |