src/RouteAfterMiddleware.php
public function handle($request, Closure $next)
    {
        /* @var $translationManager Manager */
        $translationManager = App::make(ManagerServiceProvider::PACKAGE);

        $response = $next($request);

        $translationManager->afterRoute($request, $response);

        return $response;
    }
public function handle($request, Closure $next)
    {
        /* @var $translationManager Manager */
        $translationManager = App::make(ManagerServiceProvider::PACKAGE);

        $response = $next($request);

        $translationManager->afterRoute($request, $response);

        return $response;
    }
public function handle ( $ request , Closure $ next ) { /* @var $translationManager Manager */ $ translationManager = App :: make ( ManagerServiceProvider :: PACKAGE ) ; $ response = $ next ( $ request ) ; $ translationManager -> afterRoute ( $ request , $ response ) ; return $ response ; }
Handle an incoming request.

@param  \Illuminate\Http\Request $request
@param  \Closure $next
@return mixed
Handle an incoming request .