| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | public static function create(array $options): Client |
||
| 22 | { |
||
| 23 | if (class_exists(HttpClient::class)) { |
||
| 24 | return new SymfonyClient(HttpClient::create($options)); |
||
| 25 | } |
||
| 26 | |||
| 27 | throw new \LogicException('You need to install an HTTP client implementation. Try running "composer require symfony/http-client".'); |
||
| 28 | } |
||
| 30 |