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 Drupal\visitors; |
4 | |
5 | /** |
6 | * Interface for tracker visitors. |
7 | */ |
8 | interface VisitorsTrackerInterface { |
9 | |
10 | /** |
11 | * Writes the log. |
12 | * |
13 | * @param string[] $fields |
14 | * The fields array. |
15 | * |
16 | * @return int |
17 | * The id of row created. |
18 | */ |
19 | public function writeLog($fields): int; |
20 | |
21 | } |