MediaWiki
REL1_41
DBPrimaryPos.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Wikimedia\Rdbms
;
4
13
interface
DBPrimaryPos
{
18
public
function
asOfTime
();
19
25
public
function
hasReached
(
DBPrimaryPos
$pos );
26
31
public
function
__toString
();
32
40
public
static
function
newFromArray
( array $data );
41
48
public
function
toArray
(): array;
49
50
}
Wikimedia\Rdbms\DBPrimaryPos
An object representing a primary or replica DB position in a replicated setup.
Definition
DBPrimaryPos.php:13
Wikimedia\Rdbms\DBPrimaryPos\__toString
__toString()
Wikimedia\Rdbms\DBPrimaryPos\newFromArray
static newFromArray(array $data)
Deserialization from storage.
Wikimedia\Rdbms\DBPrimaryPos\asOfTime
asOfTime()
Wikimedia\Rdbms\DBPrimaryPos\hasReached
hasReached(DBPrimaryPos $pos)
Wikimedia\Rdbms\DBPrimaryPos\toArray
toArray()
Serialization for storage.
Wikimedia\Rdbms
Definition
ChronologyProtector.php:20
includes
libs
rdbms
database
position
DBPrimaryPos.php
Generated on Wed Nov 27 2024 07:23:51 for MediaWiki by
1.10.0