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 rebuilding routes. |
7 | */ |
8 | interface VisitorsRebuildRouteInterface { |
9 | |
10 | /** |
11 | * Rebuilds routes from path. |
12 | * |
13 | * @return int |
14 | * The number of routes that were rebuilt. |
15 | */ |
16 | public function rebuild(string $path): int; |
17 | |
18 | /** |
19 | * Gets the paths missing a route. |
20 | * |
21 | * @return array |
22 | * The paths. |
23 | */ |
24 | public function getPaths(): array; |
25 | |
26 | } |