| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function boot() |
||
| 19 | { |
||
| 20 | $this->publishes([ |
||
| 21 | __DIR__ . '/../config/layer.php' => $this->app->make('path.config') . '/layer.php' |
||
| 22 | ], 'config'); |
||
| 23 | |||
| 24 | $this->app->bind('Aosmak\Laravel\Layer\Sdk\Services\LayerServiceInterface', function ($app) { |
||
| 25 | $service = $app->make('Aosmak\Laravel\Layer\Sdk\Services\LayerService'); |
||
| 26 | $service->setConfig($app['config']['layer']); |
||
| 27 | |||
| 28 | return $service; |
||
| 29 | }); |
||
| 42 |