Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 91.67% |
Changes | 0 |
1 | <?php |
||
13 | final class ListResponse implements ResponseContract |
||
14 | { |
||
15 | /** |
||
16 | * @param array<int, RetrieveResponse> $data |
||
17 | */ |
||
18 | 1 | private function __construct( |
|
21 | 1 | } |
|
22 | |||
23 | /** |
||
24 | * Acts as static factory, and returns a new Response instance. |
||
25 | * |
||
26 | * @param array{data: array<int, array{event_id: string, object: string, created_at: int, bytes: int, filename: string, purpose: string, status: string, status_details: array<array-key, mixed>|string|null}>} $attributes |
||
|
|||
27 | */ |
||
28 | 1 | public static function from(array $attributes): self |
|
45 |