MediaWiki REL1_39
LimitOperation.php
Go to the documentation of this file.
1<?php
2
3namespace Wikimedia\WRStats;
4
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}
Base class for entity keys.
Definition EntityKey.php:13
Class representing one item in a limit batch.
__construct(string $condName, EntityKey $entityKey=null, $amount=1)
Entity key with global=false.