Total Complexity | 5 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | final class EntityWriter implements DataWriterInterface |
||
13 | { |
||
14 | private ORMInterface $orm; |
||
15 | |||
16 | public function __construct(ORMInterface $orm) |
||
17 | { |
||
18 | $this->orm = $orm; |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * @throws Throwable |
||
23 | */ |
||
24 | public function write(iterable $items): void |
||
31 | } |
||
32 | |||
33 | public function delete(iterable $items): void |
||
42 |