src/StorageAdapter/Ftp.php 1 location
|
@@ 23-26 (lines=4) @@
|
20 |
|
'port' => 21, |
21 |
|
]; |
22 |
|
|
23 |
|
if ($missingSettings = array_diff($requiredSettings, array_keys($vaultConfiguration->getSettings()))) |
24 |
|
{ |
25 |
|
throw new ConfigurationException("Missing mandatory setting(s): " . implode(',', $missingSettings)); |
26 |
|
} |
27 |
|
|
28 |
|
$settings = array_merge($defaults, $vaultConfiguration->getSettings()); |
29 |
|
|
src/StorageAdapter/S3.php 1 location
|
@@ 22-25 (lines=4) @@
|
19 |
|
'region', |
20 |
|
]; |
21 |
|
|
22 |
|
if ($missingSettings = array_diff($requiredSettings, array_keys(array_filter($vaultConfiguration->getSettings())))) |
23 |
|
{ |
24 |
|
throw new ConfigurationException("Missing mandatory setting(s): " . implode(',', $missingSettings)); |
25 |
|
} |
26 |
|
|
27 |
|
$client = new S3Client([ |
28 |
|
'version' => '2006-03-01', |