MediaWiki
master
LimitOperation.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Wikimedia\WRStats
;
4
15
class
LimitOperation
{
17
public
$condName
;
19
public
$entityKey
;
21
public
$amount
;
22
28
public
function
__construct
(
29
string
$condName
,
30
EntityKey
$entityKey
=
null
,
31
$amount
= 1
32
) {
33
$this->condName =
$condName
;
34
$this->entityKey =
$entityKey
??
new
LocalEntityKey
;
35
$this->amount =
$amount
;
36
}
37
}
Wikimedia\WRStats\EntityKey
Base class for entity keys.
Definition
EntityKey.php:13
Wikimedia\WRStats\LimitOperation
One item in a LimitBatch.
Definition
LimitOperation.php:15
Wikimedia\WRStats\LimitOperation\__construct
__construct(string $condName, EntityKey $entityKey=null, $amount=1)
Definition
LimitOperation.php:28
Wikimedia\WRStats\LimitOperation\$entityKey
EntityKey $entityKey
Definition
LimitOperation.php:19
Wikimedia\WRStats\LimitOperation\$condName
string $condName
Definition
LimitOperation.php:17
Wikimedia\WRStats\LimitOperation\$amount
int $amount
Definition
LimitOperation.php:21
Wikimedia\WRStats\LocalEntityKey
Entity key with isGlobal=false.
Definition
LocalEntityKey.php:11
Wikimedia\WRStats
Definition
ArrayStatsStore.php:3
includes
libs
WRStats
LimitOperation.php
Generated on Sat Apr 27 2024 00:23:48 for MediaWiki by
1.10.0