Total Complexity | 4 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 91.67% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class SendingPerContent extends Partition |
||
10 | { |
||
11 | /** |
||
12 | * Calculate the value of the metric. |
||
13 | * |
||
14 | * @param \Illuminate\Http\Request $request |
||
15 | * @return mixed |
||
16 | */ |
||
17 | 1 | public function calculate(Request $request) |
|
27 | 1 | }); |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * Get the URI key for the metric. |
||
32 | * |
||
33 | * @return string |
||
34 | */ |
||
35 | 1 | public function uriKey() |
|
38 | } |
||
39 | |||
40 | /** |
||
41 | * Determine for how many minutes the metric should be cached. |
||
42 | * |
||
43 | * @return \DateTimeInterface|\DateInterval|float|int |
||
44 | */ |
||
45 | 1 | public function cacheFor() |
|
50 |