MediaWiki  master
CriticalSessionInfo.php
Go to the documentation of this file.
1 <?php
20 namespace Wikimedia\Rdbms;
21 
28  public $trxId;
30  public $trxExplicit;
36  public $namedLocks;
38  public $tempTables;
39 
48  public function __construct(
50  bool $trxExplicit,
51  array $trxWriteCallers,
53  array $namedLocks,
54  array $tempTables
55  ) {
56  $this->trxId = $trxId;
57  $this->trxExplicit = $trxExplicit;
58  $this->trxWriteCallers = $trxWriteCallers;
59  $this->trxPreCommitCbCallers = $trxPreCommitCbCallers;
60  $this->namedLocks = $namedLocks;
61  $this->tempTables = $tempTables;
62  }
63 }
__construct(?TransactionIdentifier $trxId, bool $trxExplicit, array $trxWriteCallers, array $trxPreCommitCbCallers, array $namedLocks, array $tempTables)
Class used for token representing identifiers for atomic transactions from IDatabase instances.