TestMiddleware.php 334 B

1234567891011121314151617181920
  1. <?php
  2. namespace App\Http\Middleware;
  3. use Closure;
  4. class TestMiddleware
  5. {
  6. /**
  7. * Handle an incoming request.
  8. *
  9. * @param \Illuminate\Http\Request $request
  10. * @param \Closure $next
  11. * @return mixed
  12. */
  13. public function handle($request, Closure $next)
  14. {
  15. return $next($request);
  16. }
  17. }