expressolivretools / app / Http / Middleware / ExampleMiddleware.php @ 68c328a2
Histórico | Ver | Anotar | Baixar (337 Bytes)
1 |
<?php
|
---|---|
2 |
|
3 |
namespace App\Http\Middleware; |
4 |
|
5 |
use Closure; |
6 |
|
7 |
class ExampleMiddleware |
8 |
{ |
9 |
/**
|
10 |
* Handle an incoming request.
|
11 |
*
|
12 |
* @param \Illuminate\Http\Request $request
|
13 |
* @param \Closure $next
|
14 |
* @return mixed
|
15 |
*/
|
16 |
public function handle($request, Closure $next) |
17 |
{ |
18 |
return $next($request); |
19 |
} |
20 |
} |