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

findInSameCollections() public method

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