public function handle(Request $request, Closure $next)
    {
        // We must let the response get handled before naming the transaction, otherwise the necessary route i
        // information won't be available in the request object.
        $response = $next($request);

        $this->newRelic->nameTransaction($this->getTransactionName($request));

        return $response;
    }