| @@ 28-42 (lines=15) @@ | ||
| 25 | * |
|
| 26 | * @return void |
|
| 27 | */ |
|
| 28 | public function register() |
|
| 29 | { |
|
| 30 | $this->mergeConfigFrom( |
|
| 31 | __DIR__.'/../../config/config.php', |
|
| 32 | $this->package |
|
| 33 | ); |
|
| 34 | ||
| 35 | ||
| 36 | $this->app['messenger'] = $this->app->share(function($app) |
|
| 37 | { |
|
| 38 | return new Message($app['config']->get('messenger'),new Client()); |
|
| 39 | }); |
|
| 40 | ||
| 41 | $this->alias(); |
|
| 42 | } |
|
| 43 | ||
| 44 | /** |
|
| 45 | * Get the services provided by the provider. |
|
| @@ 34-48 (lines=15) @@ | ||
| 31 | * |
|
| 32 | * @return void |
|
| 33 | */ |
|
| 34 | public function register() |
|
| 35 | { |
|
| 36 | $this->mergeConfigFrom( |
|
| 37 | __DIR__.'/../../config/config.php', |
|
| 38 | $this->package |
|
| 39 | ); |
|
| 40 | ||
| 41 | ||
| 42 | $this->app['messenger'] = $this->app->share(function($app) |
|
| 43 | { |
|
| 44 | return new Message($app['config']->get('messenger'),new Client()); |
|
| 45 | }); |
|
| 46 | ||
| 47 | $this->alias(); |
|
| 48 | } |
|
| 49 | ||
| 50 | /** |
|
| 51 | * Get the services provided by the provider. |
|