|
@@ -58,7 +58,7 @@ |
|
|
block discarded – undo |
|
58
|
58
|
public function __construct(PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, PropertyMetadataFactoryInterface $propertyMetadataFactory, IriConverterInterface $iriConverter, ResourceClassResolverInterface $resourceClassResolver, PropertyAccessorInterface $propertyAccessor = null, NameConverterInterface $nameConverter = null, ClassMetadataFactoryInterface $classMetadataFactory = null, ItemDataProviderInterface $itemDataProvider = null, bool $allowPlainIdentifiers = false, array $defaultContext = []) |
|
59
|
59
|
{ |
|
60
|
60
|
if (!isset($defaultContext['circular_reference_handler'])) { |
|
61
|
|
- $defaultContext['circular_reference_handler'] = function ($object) { |
|
|
61
|
+ $defaultContext['circular_reference_handler'] = function($object) { |
|
62
|
62
|
return $this->iriConverter->getIriFromItem($object); |
|
63
|
63
|
}; |
|
64
|
64
|
} |
Please login to merge, or discard this patch.