Sonata\Component\Product\ProductManagerInterface::findParentsInSameCollections PHP Method

findParentsInSameCollections() public method

Returns the parent products in the same collections as those specified in $productCollections.
public findParentsInSameCollections ( mixed $productCollections ) : array
$productCollections mixed
return array
    public function findParentsInSameCollections($productCollections);