| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 7 |
| Lines | 15 |
| Ratio | 100 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php namespace Distilleries\Messenger; |
||
| 26 | View Code Duplication | public function register() |
|
| 27 | { |
||
| 28 | $this->mergeConfigFrom( |
||
| 29 | __DIR__.'/../../config/config.php', |
||
| 30 | $this->package |
||
| 31 | ); |
||
| 32 | |||
| 33 | |||
| 34 | $this->app['messenger'] = $this->app->share(function($app) |
||
| 35 | { |
||
| 36 | return new Message($app['config']->get('messenger'),new Client()); |
||
| 37 | }); |
||
| 38 | |||
| 39 | $this->alias(); |
||
| 40 | } |
||
| 41 | |||
| 72 | } |