| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | 5 | public function boot() |
|
| 17 | { |
||
| 18 | 5 | $config = $this->app['config']->get('services.postmark', []); |
|
| 19 | |||
| 20 | 5 | $this->app['swift.transport']->extend('postmark', function () use ($config) { |
|
| 21 | 1 | return new PostmarkTransport( |
|
| 22 | 1 | $this->guzzle($config), |
|
| 23 | 1 | $config['secret'] |
|
| 24 | ); |
||
| 25 | 5 | }); |
|
| 26 | 5 | } |
|
| 27 | |||
| 43 |