| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class TikTokServiceProvider extends ServiceProvider |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Bootstrap services. |
||
| 11 | * |
||
| 12 | * @return void |
||
| 13 | */ |
||
| 14 | public function boot() |
||
| 15 | { |
||
| 16 | $this->publishes([ |
||
| 17 | __DIR__.'/../config/tiktok.php' => config_path('tiktok.php'), |
||
| 18 | ], 'config'); |
||
| 19 | |||
| 20 | $this->publishes([ |
||
| 21 | __DIR__.'/../resources/lang' => "{$this->app['path.lang']}/vendor/tiktok", |
||
| 22 | ]); |
||
| 23 | |||
| 24 | $this->loadTranslationsFrom(__DIR__.'/../resources/lang/', 'tiktok'); |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Register services. |
||
| 29 | * |
||
| 30 | * @return void |
||
| 31 | */ |
||
| 32 | public function register() |
||
| 41 | } |
||
| 42 | } |
||
| 43 |