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