Total Complexity | 5 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class BaseEntity |
||
14 | { |
||
15 | /** |
||
16 | * Create new instance |
||
17 | * @param array<string, mixed> $data |
||
18 | */ |
||
19 | public function __construct(array $data = []) |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * Fill the property using the provided data |
||
26 | * @param array<string, mixed> $data |
||
27 | * @return void |
||
28 | */ |
||
29 | protected function hydrate(array $data = []): void |
||
42 |