MediaWiki master
EntityKey.php
Go to the documentation of this file.
1<?php
2
3namespace Wikimedia\WRStats;
4
13abstract class EntityKey {
15 private $components;
16
20 public function __construct( array $components = [] ) {
21 $this->components = $components;
22 }
23
27 public function getComponents() {
28 return $this->components;
29 }
30
34 abstract public function isGlobal();
35}
Base class for entity keys.
Definition EntityKey.php:13
__construct(array $components=[])
Definition EntityKey.php:20