Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | protected function getFilesystemAdapter(array $config): FilesystemAdapter |
||
17 | { |
||
18 | $connectionString = sprintf( |
||
19 | 'DefaultEndpointsProtocol=https;AccountName=%s;AccountKey=%s;', |
||
20 | $config['account_name'], |
||
21 | $config['account_key'] |
||
22 | ); |
||
23 | $client = BlobRestProxy::createBlobService($connectionString); |
||
24 | $adapter = new AzureBlobStorageAdapter($client, $config['container_name']); |
||
25 | |||
26 | return $adapter; |
||
27 | } |
||
29 |