1 | <?php |
||
16 | class MiddlewareServiceProvider extends PortMiddlewareServiceProvider |
||
17 | { |
||
18 | use DebuggerTrait; |
||
19 | |||
20 | protected $middleware = [ |
||
21 | |||
22 | ]; |
||
23 | |||
24 | protected $middlewareGroups = [ |
||
25 | 'web' => [ |
||
26 | |||
27 | ], |
||
28 | 'api' => [ |
||
29 | // Hello API Requests Monitor |
||
30 | RequestsMonitorMiddleware::class, |
||
31 | ], |
||
32 | ]; |
||
33 | |||
34 | protected $routeMiddleware = [ |
||
35 | |||
36 | ]; |
||
37 | |||
38 | /** |
||
39 | * Perform post-registration booting of services. |
||
40 | */ |
||
41 | public function boot() |
||
45 | |||
46 | /** |
||
47 | * Register anything in the container. |
||
48 | */ |
||
49 | public function register() |
||
53 | } |
||
54 |