Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
12 | class ClientModelInstantiator implements ObjectConstructorInterface |
||
13 | { |
||
14 | private Client $client; |
||
15 | |||
16 | /** |
||
17 | * @param Client $client |
||
18 | */ |
||
19 | 13 | public function __construct(Client $client) |
|
20 | { |
||
21 | 13 | $this->client = $client; |
|
22 | 13 | } |
|
23 | |||
24 | /** |
||
25 | * @inheritDoc |
||
26 | */ |
||
27 | 11 | public function construct(DeserializationVisitorInterface $visitor, ClassMetadata $metadata, $data, array $type, DeserializationContext $context): ?object |
|
35 | } |
||
36 | } |
||
37 |