| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class ResponseBenchmarkFormatter implements ContextFormatterContract |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var BenchmarkService |
||
| 14 | */ |
||
| 15 | protected $benchmarkService; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * BenchmarkFormatter constructor. |
||
| 19 | * @param BenchmarkService $benchmarkService |
||
| 20 | */ |
||
| 21 | public function __construct(BenchmarkService $benchmarkService) |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param \Illuminate\Http\Request $request |
||
| 28 | * @param \Illuminate\Http\Response $response |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | public function format(Request $request, Response $response) |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function name(): string |
||
| 42 | } |
||
| 43 | } |