| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | protected function createSendgridV3Driver() |
||
| 29 | { |
||
| 30 | $config = $this->app['config']->get('services.sendgrid', []); |
||
| 31 | $client = new HttpClient(Arr::get($config, 'guzzle', [])); |
||
| 32 | $pretend = isset($config['pretend']) ? $config['pretend'] : false; |
||
| 33 | return new SendgridV3Transport($client, $config['api_key'], $pretend); |
||
| 34 | } |
||
| 35 | } |
||
| 36 |