MediaWiki
REL1_40
LimitOperation.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Wikimedia\WRStats
;
4
11
class
LimitOperation
{
13
public
$condName
;
15
public
$entityKey
;
17
public
$amount
;
18
24
public
function
__construct
(
25
string
$condName
,
26
EntityKey
$entityKey
=
null
,
27
$amount
= 1
28
) {
29
$this->condName =
$condName
;
30
$this->entityKey =
$entityKey
??
new
LocalEntityKey
;
31
$this->amount =
$amount
;
32
}
33
}
Wikimedia\WRStats\EntityKey
Base class for entity keys.
Definition
EntityKey.php:13
Wikimedia\WRStats\LimitOperation
Class representing one item in a limit batch.
Definition
LimitOperation.php:11
Wikimedia\WRStats\LimitOperation\__construct
__construct(string $condName, EntityKey $entityKey=null, $amount=1)
Definition
LimitOperation.php:24
Wikimedia\WRStats\LimitOperation\$entityKey
EntityKey $entityKey
Definition
LimitOperation.php:15
Wikimedia\WRStats\LimitOperation\$condName
string $condName
Definition
LimitOperation.php:13
Wikimedia\WRStats\LimitOperation\$amount
int $amount
Definition
LimitOperation.php:17
Wikimedia\WRStats\LocalEntityKey
Entity key with global=false.
Definition
LocalEntityKey.php:11
Wikimedia\WRStats
Definition
ArrayStatsStore.php:3
includes
libs
WRStats
LimitOperation.php
Generated on Thu Jun 27 2024 14:03:20 for MediaWiki by
1.10.0