| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | final class DataObjectFactory |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var string[] |
||
| 17 | */ |
||
| 18 | private array $dataObjectTypes; |
||
| 19 | |||
| 20 | public function __construct(array $dataObjectTypes = []) |
||
| 21 | { |
||
| 22 | $this->dataObjectTypes = $dataObjectTypes; |
||
| 23 | } |
||
| 24 | |||
| 25 | public function create(string $entityType, array $data = []): DataObjectInterface |
||
| 30 | } |
||
| 31 | } |
||
| 32 |