session handler config upd

This commit is contained in:
Milos Stojanovic
2019-06-19 09:23:20 +02:00
parent 0765079a26
commit 5da41e63c9
7 changed files with 28 additions and 46 deletions

View File

@@ -28,12 +28,9 @@ return [
'Filegator\Services\Session\SessionStorageInterface' => [
'handler' => '\Filegator\Services\Session\Adapters\SessionStorage',
'config' => [
'session_handler' => 'mockfilesession',
'available' => [
'mockfilesession' => function () {
return new \Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage();
},
],
'handler' => function () {
return new \Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage();
},
],
],
'Filegator\Services\Tmpfs\TmpfsInterface' => [