mirror of
https://github.com/friendica/friendica
synced 2026-04-12 06:46:44 +02:00
Add SessionUsers class including tests
This commit is contained in:
parent
66a4c30eb7
commit
940619325d
9 changed files with 542 additions and 5 deletions
|
|
@ -41,6 +41,7 @@ use Friendica\Core\PConfig;
|
|||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Lock;
|
||||
use Friendica\Core\Session\Capability\IHandleSessions;
|
||||
use Friendica\Core\Session\Capability\IHandleUserSessions;
|
||||
use Friendica\Core\Storage\Repository\StorageManager;
|
||||
use Friendica\Database\Database;
|
||||
use Friendica\Database\Definition\DbaDefinition;
|
||||
|
|
@ -224,6 +225,9 @@ return [
|
|||
['start', [], Dice::CHAIN_CALL],
|
||||
],
|
||||
],
|
||||
IHandleUserSessions::class => [
|
||||
'instanceOf' => \Friendica\Core\Session\Model\UserSession::class,
|
||||
],
|
||||
Cookie::class => [
|
||||
'constructParams' => [
|
||||
$_COOKIE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue