MediaWiki
REL1_31
DummySessionBackend.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Session
;
4
11
class
DummySessionBackend
{
12
public
$data
= [
13
'foo'
=> 1,
14
'bar'
=> 2,
15
0 =>
'zero'
,
16
];
17
public
$dirty
=
false
;
18
19
public
function
&
getData
() {
20
return
$this->data
;
21
}
22
23
public
function
dirty
() {
24
$this->
dirty
=
true
;
25
}
26
27
public
function
deregisterSession
( $index ) {
28
}
29
}
MediaWiki\Session\DummySessionBackend
Dummy session backend.
Definition
DummySessionBackend.php:11
MediaWiki\Session\DummySessionBackend\getData
& getData()
Definition
DummySessionBackend.php:19
MediaWiki\Session\DummySessionBackend\$dirty
$dirty
Definition
DummySessionBackend.php:17
MediaWiki\Session\DummySessionBackend\$data
$data
Definition
DummySessionBackend.php:12
MediaWiki\Session\DummySessionBackend\dirty
dirty()
Definition
DummySessionBackend.php:23
MediaWiki\Session\DummySessionBackend\deregisterSession
deregisterSession( $index)
Definition
DummySessionBackend.php:27
MediaWiki\Session
Definition
BotPasswordSessionProvider.php:24
tests
phpunit
mocks
session
DummySessionBackend.php
Generated on Mon Nov 25 2024 15:36:44 for MediaWiki by
1.10.0