Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | public function boot(Router $router) |
||
16 | { |
||
17 | $this->publishes([__DIR__ . '/config/localeroute.php' => config_path('localeroute.php')]); |
||
18 | $this->mergeConfigFrom(__DIR__ . '/config/localeroute.php', 'localeroute'); |
||
19 | |||
20 | $router->aliasMiddleware('locale.session', SetSessionLocale::class); |
||
21 | } |
||
31 |