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 | * Visitors report data. |
| 7 | */ |
| 8 | interface VisitorsReportInterface { |
| 9 | |
| 10 | /** |
| 11 | * The number of hits for each day of the month. |
| 12 | */ |
| 13 | const REFERER_TYPE_INTERNAL_PAGES = 0; |
| 14 | |
| 15 | /** |
| 16 | * The number of hits for each day of the month. |
| 17 | */ |
| 18 | const REFERER_TYPE_EXTERNAL_PAGES = 1; |
| 19 | |
| 20 | /** |
| 21 | * Get the number of hits for each referer. |
| 22 | * |
| 23 | * @param array $header |
| 24 | * Table header configuration. |
| 25 | * |
| 26 | * @return array |
| 27 | * The number of hits for each referer. |
| 28 | */ |
| 29 | public function referer(array $header); |
| 30 | |
| 31 | } |