Total Complexity | 1 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | class Builder implements BuilderInterface |
||
21 | { |
||
22 | /** |
||
23 | * |
||
24 | * The class to use for new instances. |
||
25 | * |
||
26 | * @var class-string<GenericCollection> |
||
|
|||
27 | * |
||
28 | */ |
||
29 | protected $class = 'Aura\Marshal\Collection\GenericCollection'; |
||
30 | |||
31 | /** |
||
32 | * |
||
33 | * Creates a new collection object. |
||
34 | * |
||
35 | * @param array<int|string, mixed> $data Data to load into the collection. |
||
36 | * |
||
37 | * @return GenericCollection |
||
38 | * |
||
39 | */ |
||
40 | public function newInstance(array $data) |
||
46 |