| Total Complexity | 7 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | final class NullMapping implements MappingInterface |
||
| 22 | { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $origin; |
||
| 28 | |||
| 29 | 7 | public function __construct(string $origin = "unknown") |
|
| 32 | } |
||
| 33 | |||
| 34 | 1 | public function describeOrigin(): string |
|
| 35 | { |
||
| 36 | 1 | return $this->origin; |
|
| 37 | } |
||
| 38 | |||
| 39 | 1 | public function collectDBALColumns(): array |
|
| 40 | { |
||
| 41 | 1 | return []; |
|
| 42 | } |
||
| 43 | |||
| 44 | 1 | public function resolveValue( |
|
| 45 | HydrationContextInterface $context, |
||
| 46 | array $dataFromAdditionalColumns |
||
| 47 | ) { |
||
| 48 | 1 | return null; |
|
| 49 | } |
||
| 50 | |||
| 51 | 1 | public function revertValue( |
|
| 56 | } |
||
| 57 | |||
| 58 | public function assertValue( |
||
| 59 | HydrationContextInterface $context, |
||
| 60 | array $dataFromAdditionalColumns, |
||
| 61 | $actualValue |
||
| 62 | ): void { |
||
| 63 | } |
||
| 64 | |||
| 65 | public function wakeUpMapping(ContainerInterface $container): void |
||
| 67 | } |
||
| 68 | |||
| 69 | } |
||
| 70 |