| Total Complexity | 1 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 13 | final class Statistics extends ApiConnector |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * Get statistics on a specified resource. |
||
| 17 | * |
||
| 18 | * @param string $project The slug for the project to pull from |
||
| 19 | * @param string $resource The slug for the resource to pull from |
||
| 20 | * @param string $lang An optional language code to return data only for a specified language |
||
| 21 | * |
||
| 22 | * @return ResponseInterface |
||
| 23 | */ |
||
| 24 | 2 | public function getStatistics(string $project, string $resource, string $lang = ''): ResponseInterface |
|
| 29 |