Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
42 | public static function create(Utils\ArrayHash $parameters, DI\Container $container) : AwsS3v3\AwsS3Adapter |
||
43 | { |
||
44 | /** @var S3Client $client */ |
||
45 | $client = $container->getService($parameters->client); |
||
46 | |||
47 | return new AwsS3v3\AwsS3Adapter( |
||
48 | $client, |
||
49 | $parameters->bucket, |
||
50 | $parameters->prefix |
||
51 | ); |
||
52 | } |
||
53 | } |
||
54 |