Total Complexity | 2 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
21 | class DefaultStopMessage |
||
22 | { |
||
23 | const MSG = 'Completed call to %s in %dms with response code %d'; |
||
24 | |||
25 | /** |
||
26 | * @param TimerInterface $timer The timer to format for the log |
||
27 | * @param RequestInterface $request The Request to format for the log |
||
28 | * @param ResponseInterface $response The Response to format for the log |
||
29 | * |
||
30 | * @return string |
||
31 | */ |
||
32 | public function __invoke( |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @param TimerInterface $timer The timer to format for the log |
||
42 | * @param RequestInterface $request The Request to format for the log |
||
43 | * @param ResponseInterface $response The Response to format for the log |
||
44 | * |
||
45 | * @return string |
||
46 | */ |
||
47 | public function stopMessage( |
||
60 |