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 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Drupal\visitors; |
| 6 | |
| 7 | /** |
| 8 | * Interface for visitors campaign. |
| 9 | */ |
| 10 | interface VisitorsCampaignInterface { |
| 11 | |
| 12 | /** |
| 13 | * Parse the campaign query string. |
| 14 | * |
| 15 | * @param string|null $query |
| 16 | * The query string. |
| 17 | * |
| 18 | * @return array|null |
| 19 | * The campaign data. |
| 20 | */ |
| 21 | public function parse(?string $query): ?array; |
| 22 | |
| 23 | } |