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