| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 9 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 50 | private function createJsonLdContext(IOContextBuilderInterface $contextBuilder, $object, array &$context, array $data = []): array | ||
| 51 |     { | ||
| 52 |         if (isset($context['jsonld_has_context'])) { | ||
| 53 | return $data; | ||
| 54 | } | ||
| 55 | |||
| 56 | $context['jsonld_has_context'] = true; | ||
| 57 | |||
| 58 | return $contextBuilder->getIOResourceContext($object, $context['output']); | ||
| 59 | } | ||
| 61 |