Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class ModelAdapter |
||
10 | { |
||
11 | /** |
||
12 | * Retrieve a `TrackAction` model set from the 'tracking' config. |
||
13 | * |
||
14 | * @return TrackAction|string |
||
15 | */ |
||
16 | public static function TrackAction(): string |
||
17 | { |
||
18 | return config('tracking.models.TrackAction', TrackAction::class); |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * Retrieve a `TrackActivity` model set from the 'tracking' config. |
||
23 | * |
||
24 | * @return TrackActivity|string |
||
25 | */ |
||
26 | public static function TrackActivity(): string |
||
27 | { |
||
28 | return config('tracking.models.TrackActivity', TrackActivity::class); |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * Retrieve a `TrackTraffic` model set from the 'tracking' config. |
||
33 | * |
||
34 | * @return TrackTraffic|string |
||
35 | */ |
||
36 | public static function TrackTraffic(): string |
||
39 | } |
||
40 | } |
||
41 |