| Total Complexity | 3 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 15 | class StaticEntityWriterGateway implements EntityWriteGatewayInterface |
||
| 16 | { |
||
| 17 | public function prefetchExistences(WriteParameterBag $parameterBag): void |
||
| 19 | } |
||
| 20 | |||
| 21 | public function getExistence(EntityDefinition $definition, array $primaryKey, array $data, WriteCommandQueue $commandQueue): EntityExistence |
||
| 22 | { |
||
| 23 | return new EntityExistence($definition->getEntityName(), $primaryKey, false, false, false, []); |
||
| 24 | } |
||
| 25 | |||
| 26 | public function execute(array $commands, WriteContext $context): void |
||
| 28 | } |
||
| 29 | } |
||
| 30 |