Conditions | 2 |
Paths | 2 |
Total Lines | 17 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 13 |
CRAP Score | 2 |
Changes | 5 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | 49 | public function boot() |
|
13 | { |
||
14 | 49 | if ($this->app->runningInConsole()) { |
|
15 | 49 | $this->publishes([ |
|
16 | 49 | __DIR__.'/../config/ussd.php' => config_path('ussd.php'), |
|
17 | 49 | ], 'ussd-config'); |
|
18 | |||
19 | 49 | $this->publishes([ |
|
20 | 49 | __DIR__.'/../menus/menu.xsd' => menu_path('menu.xsd'), |
|
21 | 49 | ], 'ussd-schema'); |
|
22 | |||
23 | 49 | $this->publishes([ |
|
24 | 49 | __DIR__.'/../bin/simulator.json' => base_path('simulator.json'), |
|
25 | 49 | ], 'ussd-simulator'); |
|
26 | |||
27 | 49 | $this->commands([ |
|
28 | 49 | Commands\Validate::class, |
|
29 | 49 | ]); |
|
41 |