Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function boot(): void |
||
15 | { |
||
16 | $routePath = __DIR__.'/../../routes/blog-api.php'; |
||
17 | if (file_exists($routePath)) { |
||
18 | $this->loadRoutesFrom($routePath); |
||
19 | } |
||
20 | |||
21 | $this->loadTranslationsFrom(__DIR__.'/../../lang', 'blog-api'); |
||
22 | |||
23 | $this->registerCommands(); |
||
24 | |||
25 | $this->registerAssetPublishing(); |
||
26 | } |
||
74 |