MediaWiki  1.28.0
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

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

Definition at line 27 of file DummySessionBackend.php.

MediaWiki\Session\DummySessionBackend::dirty ( )

Definition at line 23 of file DummySessionBackend.php.

& MediaWiki\Session\DummySessionBackend::getData ( )

Member Data Documentation

MediaWiki\Session\DummySessionBackend::$data
Initial value:
= [
'foo' => 1

Definition at line 12 of file DummySessionBackend.php.

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

MediaWiki\Session\DummySessionBackend::$dirty = false

Definition at line 17 of file DummySessionBackend.php.


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