mirror of
https://github.com/friendica/friendica
synced 2025-04-29 14:24:22 +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
|
@ -22,6 +22,7 @@
|
|||
namespace Friendica;
|
||||
|
||||
use Dice\Dice;
|
||||
use Friendica\Core\Session\Capability\IHandleUserSessions;
|
||||
use Friendica\Navigation\SystemMessages;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
||||
|
@ -219,6 +220,11 @@ abstract class DI
|
|||
return self::$dice->create(Core\Session\Capability\IHandleSessions::class);
|
||||
}
|
||||
|
||||
public static function userSession(): IHandleUserSessions
|
||||
{
|
||||
return self::$dice->create(Core\Session\Capability\IHandleUserSessions::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Friendica\Core\Storage\Repository\StorageManager
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue