MediaWiki
REL1_34
SessionProviderInterface.php
Go to the documentation of this file.
1
<?php
24
namespace
MediaWiki\Session
;
25
26
use
Language
;
27
use
Message
;
28
36
interface
SessionProviderInterface
{
37
44
public
function
describe
(
Language
$lang
);
45
53
public
function
whyNoSession
();
54
55
}
Language
Internationalisation code.
Definition
Language.php:37
Message
The Message class provides methods which fulfil two basic services:
Definition
Message.php:162
MediaWiki\Session\SessionProviderInterface
This exists to make IDEs happy, so they don't see the internal-but-required-to-be-public methods on S...
Definition
SessionProviderInterface.php:36
MediaWiki\Session\SessionProviderInterface\describe
describe(Language $lang)
Return an identifier for this session type.
MediaWiki\Session\SessionProviderInterface\whyNoSession
whyNoSession()
Return a Message for why sessions might not be being persisted.
MediaWiki\Session
Definition
BotPasswordSessionProvider.php:24
$lang
if(!isset( $args[0])) $lang
Definition
testCompression.php:33
includes
session
SessionProviderInterface.php
Generated on Mon Nov 25 2024 16:05:45 for MediaWiki by
1.10.0