MediaWiki master
SessionStore.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Session;
4
5use Psr\Log\LoggerAwareInterface;
6
53interface SessionStore extends LoggerAwareInterface {
54
63 public function get( SessionInfo $sessionInfo );
64
73 public function set( SessionInfo $sessionInfo, $value, $exptime = 0, $flags = 0 ): void;
74
80 public function delete( SessionInfo $sessionInfo ): void;
81
87 public function shutdown(): void;
88}
Value object returned by SessionProvider.
This is a session store abstraction layer, which can be used to read and write sessions to configured...
shutdown()
Will be called during shutdown.