| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php namespace Nord\Lumen\ImageManager\Adapters\Cloudinary; |
||
| 43 | private function configureClient(array $config) |
||
| 44 | { |
||
| 45 | $cloudName = array_get($config, 'cloudName', env('CLOUDINARY_NAME')); |
||
| 46 | $apiKey = array_get($config, 'apiKey', env('CLOUDINARY_KEY')); |
||
| 47 | $apiSecret = array_get($config, 'apiSecret', env('CLOUDINARY_SECRET')); |
||
| 48 | |||
| 49 | Cloudinary::config([ |
||
| 50 | 'cloud_name' => $cloudName, |
||
| 51 | 'api_key' => $apiKey, |
||
| 52 | 'api_secret' => $apiSecret, |
||
| 53 | ]); |
||
| 54 | } |
||
| 55 | } |
||
| 56 |