Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | namespace GrowthExperiments\NewcomerTasks; |
4 | |
5 | interface NewcomerTasksInfo { |
6 | /** |
7 | * Get information about available newcomer tasks segmented by task and topic. |
8 | * |
9 | * @param array $options Associative array of options: |
10 | * - resetCache (bool, default false): ignore and replace the cached result. |
11 | * @return array An associative array with three elements: |
12 | * - tasks (array): a list of task type ID => total count |
13 | * - topics (array): a list of topic ID => total count => count per task type ID |
14 | * - totalCount (int) |
15 | */ |
16 | public function getInfo( array $options = [] ); |
17 | } |