MediaWiki master
|
One item in a LimitBatch. More...
Public Member Functions | |
__construct (string $condName, EntityKey $entityKey=null, $amount=1) | |
Public Attributes | |
int | $amount |
string | $condName |
EntityKey | $entityKey |
One item in a LimitBatch.
To perform a single operation, it is generally recommended to use the simpler interface of WRStatsRateLimiter::peek(), ::incr(), and ::tryIncr() instead of constructing LimitOperation objects.
Definition at line 15 of file LimitOperation.php.
Wikimedia\WRStats\LimitOperation::__construct | ( | string | $condName, |
EntityKey | $entityKey = null, | ||
$amount = 1 ) |
string | $condName | |
EntityKey | null | $entityKey | |
int | $amount |
Definition at line 28 of file LimitOperation.php.
References Wikimedia\WRStats\LimitOperation\$amount, Wikimedia\WRStats\LimitOperation\$condName, and Wikimedia\WRStats\LimitOperation\$entityKey.
int Wikimedia\WRStats\LimitOperation::$amount |
Definition at line 21 of file LimitOperation.php.
Referenced by Wikimedia\WRStats\LimitOperation\__construct().
string Wikimedia\WRStats\LimitOperation::$condName |
Definition at line 17 of file LimitOperation.php.
Referenced by Wikimedia\WRStats\LimitOperation\__construct().
EntityKey Wikimedia\WRStats\LimitOperation::$entityKey |
Definition at line 19 of file LimitOperation.php.
Referenced by Wikimedia\WRStats\LimitOperation\__construct().