MediaWiki REL1_33
MediaWiki\Session\DummySessionBackend Class Reference

Dummy session backend. More...

Public Member Functions

 deregisterSession ( $index)
 
 dirty ()
 
getData ()
 

Public Attributes

 $data
 
 $dirty = false
 

Detailed Description

Dummy session backend.

This isn't a real backend, but implements some methods that SessionBackend does so tests can run.

Definition at line 11 of file DummySessionBackend.php.

Member Function Documentation

◆ deregisterSession()

MediaWiki\Session\DummySessionBackend::deregisterSession (   $index)

Definition at line 27 of file DummySessionBackend.php.

◆ dirty()

MediaWiki\Session\DummySessionBackend::dirty ( )

◆ getData()

& MediaWiki\Session\DummySessionBackend::getData ( )

Member Data Documentation

◆ $data

MediaWiki\Session\DummySessionBackend::$data
Initial value:
= [
'foo' => 1,
'bar' => 2,
0 => 'zero',
]

Definition at line 12 of file DummySessionBackend.php.

Referenced by MediaWiki\Session\DummySessionBackend\getData().

◆ $dirty

MediaWiki\Session\DummySessionBackend::$dirty = false

Definition at line 17 of file DummySessionBackend.php.


The documentation for this class was generated from the following file: