storage config simplified

This commit is contained in:
Milos Stojanovic
2019-06-19 09:36:45 +02:00
parent 5da41e63c9
commit 0eaa8184c4
6 changed files with 59 additions and 90 deletions

View File

@@ -52,14 +52,11 @@ return [
'handler' => '\Filegator\Services\Storage\Filesystem',
'config' => [
'separator' => '/',
'filesystem_adapter' => 'localfilesystem',
'adapters' => [
'localfilesystem' => function () {
return new \League\Flysystem\Adapter\Local(
TEST_REPOSITORY
);
},
],
'adapter' => function () {
return new \League\Flysystem\Adapter\Local(
TEST_REPOSITORY
);
},
],
],
'Filegator\Services\Auth\AuthInterface' => [