MediaWiki master
|
Base class for entity keys. More...
Inherited by Wikimedia\WRStats\GlobalEntityKey, and Wikimedia\WRStats\LocalEntityKey.
Public Member Functions | |
__construct (array $components=[]) | |
getComponents () | |
isGlobal () | |
Base class for entity keys.
An entity key is an array of storage key components which can be used to distinguish stats with the same metric name. The entity key object also carries a global flag which is passed through to the store.
Definition at line 13 of file EntityKey.php.
Wikimedia\WRStats\EntityKey::__construct | ( | array | $components = [] | ) |
array | $components | Array of elements, each convertible to string. |
Definition at line 20 of file EntityKey.php.
Wikimedia\WRStats\EntityKey::getComponents | ( | ) |
Definition at line 27 of file EntityKey.php.
|
abstract |
Reimplemented in Wikimedia\WRStats\GlobalEntityKey, and Wikimedia\WRStats\LocalEntityKey.