Conditions | 5 |
Paths | 5 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
49 | public function supportsDenormalization($data, $type, $format = null, array $context = []) |
||
50 | { |
||
51 | return |
||
52 | !is_array($data) && |
||
53 | class_exists($type) && |
||
54 | $this->fieldHelper->hasConfig($type) && |
||
55 | !empty($context['channelType']) && |
||
56 | $context['channelType'] == ChannelType::TYPE; |
||
57 | } |
||
58 | } |
||
59 |