Debian Codegraph @

includes/libs/rdbms/database/utils/TempTableInfo.php

raw symbols SCIP
1 <?php
2
3 namespace Wikimedia\Rdbms;
4
5 /**
6 * @internal
7 */
8 class TempTableInfo {
9 /**
10 * @var ?TransactionIdentifier The transaction ID in which the table was
11 * created. This is used to judge whether a rollback is tolerable.
12 */
13 public ?TransactionIdentifier $trxId;
14
15 /**
16 * @var bool Whether the table is a pseudo-permanent temporary table, that is,
17 * duplicated for PHPUnit testing.
18 */
19 public bool $pseudoPermanent;
20
21 public function __construct( ?TransactionIdentifier $trxId, bool $pseudoPermanent ) {
22 $this->trxId = $trxId;
23 $this->pseudoPermanent = $pseudoPermanent;
24 }
25 }