Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
EditInfoService | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
getEditsPerDay | n/a |
0 / 0 |
n/a |
0 / 0 |
0 |
1 | <?php |
2 | |
3 | namespace GrowthExperiments; |
4 | |
5 | use StatusValue; |
6 | |
7 | /** |
8 | * A service for getting edit-related site information. |
9 | */ |
10 | abstract class EditInfoService { |
11 | |
12 | /** |
13 | * Get the number of mainspace edits per day. |
14 | * A typical implementation would return the number of edits on the previous day. |
15 | * @return int|StatusValue The number of edits, or an error status. |
16 | */ |
17 | abstract public function getEditsPerDay(); |
18 | |
19 | } |