Skip to content

Commit c351384

Browse files
committed
feat: add connections for buckets
1 parent 4d2e80a commit c351384

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

src/FS/Storage.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ class Storage
66
{
77
protected static $errorsArray = [];
88

9+
/**
10+
* Add storage bucket connections
11+
*
12+
* @param array $connections The connections to buckets
13+
* @param string $default The default connection to use
14+
*
15+
* @return void
16+
*/
17+
public static function connections(array $connections, string $default = 's3')
18+
{
19+
Bucket::connections($connections, $default);
20+
}
21+
922
/**
1023
* Create a new file
1124
*

0 commit comments

Comments
 (0)