Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
Constants | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | namespace MediaWiki\Extension\PageViewInfoGA; |
4 | |
5 | final class Constants { |
6 | |
7 | // These are tightly coupled to extension.json's config. |
8 | /** |
9 | * @var string |
10 | */ |
11 | public const CONFIG_KEY_TRACKING_ID = 'PageViewInfoGATrackingID'; |
12 | |
13 | /** |
14 | * @var string |
15 | */ |
16 | public const CONFIG_KEY_CREDENTIALS_FILE = 'PageViewInfoGACredentialsFile'; |
17 | |
18 | /** |
19 | * @var string |
20 | */ |
21 | public const CONFIG_KEY_PROFILE_ID = 'PageViewInfoGAProfileId'; |
22 | |
23 | /** |
24 | * @var string |
25 | */ |
26 | public const CONFIG_KEY_WRITE_CUSTOM_DIMENSIONS = 'PageViewInfoGAWriteCustomDimensions'; |
27 | |
28 | /** |
29 | * @var string |
30 | */ |
31 | public const CONFIG_KEY_CUSTOM_MAP = "PageViewInfoGAWriteCustomMap"; |
32 | |
33 | /** |
34 | * @var string |
35 | */ |
36 | public const CONFIG_KEY_READ_CUSTOM_DIMENSIONS = 'PageViewInfoGAReadCustomDimensions'; |
37 | } |