| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | public function performanceRecords(int $siteId, string $start, string $end, string $timeframe = '1m'): array |
||
| 18 | { |
||
| 19 | $start = $this->convertDateFormat($start); |
||
|
|
|||
| 20 | $end = $this->convertDateFormat($end); |
||
| 21 | |||
| 22 | return $this->transformCollection( |
||
| 23 | $this->get("sites/$siteId/performance-records?filter[start]={$start}&filter[end]={$end}&filter[timeframe]={$timeframe}"), |
||
| 24 | PerformanceRecord::class |
||
| 25 | ); |
||
| 28 |