@@ 42-49 (lines=8) @@ | ||
39 | * @param QueryItemExtensionInterface[] $itemExtensions |
|
40 | * @param ItemDataProviderInterface|null $decorated |
|
41 | */ |
|
42 | public function __construct(ManagerRegistry $managerRegistry, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, PropertyMetadataFactoryInterface $propertyMetadataFactory, array $itemExtensions = [], ItemDataProviderInterface $decorated = null) |
|
43 | { |
|
44 | $this->managerRegistry = $managerRegistry; |
|
45 | $this->propertyNameCollectionFactory = $propertyNameCollectionFactory; |
|
46 | $this->propertyMetadataFactory = $propertyMetadataFactory; |
|
47 | $this->itemExtensions = $itemExtensions; |
|
48 | $this->decorated = $decorated; |
|
49 | } |
|
50 | ||
51 | /** |
|
52 | * {@inheritdoc} |
@@ 43-49 (lines=7) @@ | ||
40 | * @param PropertyMetadataFactoryInterface $propertyMetadataFactory |
|
41 | * @param QueryItemExtensionInterface[] $itemExtensions |
|
42 | */ |
|
43 | public function __construct(ManagerRegistry $managerRegistry, PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, PropertyMetadataFactoryInterface $propertyMetadataFactory, array $itemExtensions = []) |
|
44 | { |
|
45 | $this->managerRegistry = $managerRegistry; |
|
46 | $this->propertyNameCollectionFactory = $propertyNameCollectionFactory; |
|
47 | $this->propertyMetadataFactory = $propertyMetadataFactory; |
|
48 | $this->itemExtensions = $itemExtensions; |
|
49 | } |
|
50 | ||
51 | /** |
|
52 | * {@inheritdoc} |