Total Complexity | 3 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class LazerpayServiceProvider extends ServiceProvider |
||
14 | { |
||
15 | |||
16 | /* |
||
17 | * Indicates if loading of the provider is deferred. |
||
18 | * |
||
19 | * @var bool |
||
20 | */ |
||
21 | |||
22 | /** |
||
23 | * Register services. |
||
24 | * |
||
25 | * @return void |
||
26 | */ |
||
27 | public function register() |
||
28 | { |
||
29 | // |
||
30 | $this->app->bind('laravel-lazerpay', function () { |
||
31 | |||
32 | return new Lazerpay; |
||
33 | |||
34 | }); |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * Publishes all the config file this package needs to function |
||
39 | */ |
||
40 | |||
41 | public function boot() |
||
47 | ]); |
||
48 | } |
||
49 | |||
50 | /** |
||
51 | * Get the services provided by the provider |
||
52 | * @return array |
||
53 | */ |
||
54 | |||
55 | public function provides() |
||
58 | } |
||
59 | |||
61 |