Skip to content

Commit 9985c00

Browse files
committed
Added Filesystem config property
1 parent 7a89964 commit 9985c00

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Filesystem.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@
4949
*/
5050
abstract class Filesystem extends Component
5151
{
52+
/**
53+
* @var \League\Flysystem\Config|array|string|null
54+
*/
55+
public $config;
5256
/**
5357
* @var \League\Flysystem\FilesystemInterface
5458
*/
@@ -64,7 +68,7 @@ abstract public function getAdapter();
6468
*/
6569
public function init()
6670
{
67-
$this->filesystem = new NativeFilesystem($this->getAdapter());
71+
$this->filesystem = new NativeFilesystem($this->getAdapter(), $this->config);
6872
}
6973

7074
/**

0 commit comments

Comments
 (0)