| 1 | <?php |
||
| 21 | class ProductBundleRegistry implements ProductBundleRegistryInterface |
||
| 22 | { |
||
| 23 | /** @var RepositoryInterface */ |
||
| 24 | private $productBundleRepository; |
||
| 25 | |||
| 26 | public function __construct(RepositoryInterface $productBundleRepository) |
||
| 30 | |||
| 31 | public function isProductBundle(ProductInterface $product): bool |
||
| 37 | |||
| 38 | /** |
||
| 39 | * {@inheritdoc} |
||
| 40 | */ |
||
| 41 | public function getProductBundleForProduct(ProductInterface $product): ProductBundleInterface |
||
| 51 | } |
||
| 52 |