| Total Complexity | 2 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Coverage | 64.29% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class FirebaseShortener extends RemoteShortener |
||
| 12 | { |
||
| 13 | protected $client; |
||
| 14 | protected $defaults; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Create a new Firebase shortener. |
||
| 18 | * |
||
| 19 | * @param \GuzzleHttp\ClientInterface $client |
||
| 20 | * @param string $token |
||
| 21 | * @param string $domain |
||
| 22 | * @param string $suffix |
||
| 23 | * @return void |
||
| 24 | */ |
||
| 25 | 24 | public function __construct(ClientInterface $client, string $token, string $domain, string $suffix) |
|
| 44 | ], |
||
| 45 | ], |
||
| 46 | ]; |
||
| 47 | 24 | } |
|
| 48 | |||
| 49 | /** |
||
| 50 | * {@inheritDoc} |
||
| 51 | */ |
||
| 52 | public function shortenAsync($url, array $options = []) |
||
| 62 |