| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | public function handle(Request $request, Closure $next) |
||
| 40 | { |
||
| 41 | // We must let the response get handled before naming the transaction, otherwise the necessary route i |
||
| 42 | // information won't be available in the request object. |
||
| 43 | $response = $next($request); |
||
| 44 | |||
| 45 | $this->newRelic->nameTransaction($this->getTransactionName($request)); |
||
| 46 | |||
| 47 | return $response; |
||
| 48 | } |
||
| 49 | |||
| 77 |