ImageResolver - trickscompany/sylius-odoo-product-plugin GitHub Wiki


ImageResolver

Properties

productImageRepository

private \Sylius\Component\Resource\Repository\RepositoryInterface $productImageRepository

productImageFactory

private \Sylius\Component\Resource\Factory\FactoryInterface $productImageFactory

Methods

__construct

public __construct(\Sylius\Component\Resource\Repository\RepositoryInterface $productImageRepository, \Sylius\Component\Resource\Factory\FactoryInterface $productImageFactory): mixed

Parameters:

Parameter Type Description
$productImageRepository \Sylius\Component\Resource\Repository\RepositoryInterface
$productImageFactory \Sylius\Component\Resource\Factory\FactoryInterface

resolve

public resolve(\Sylius\Component\Core\Model\ProductInterface $syliusProduct, \Fabit\SyliusOdooProductPlugin\Model\Product $product): \Sylius\Component\Core\Model\ProductImageInterface

Parameters:

Parameter Type Description
$syliusProduct \Sylius\Component\Core\Model\ProductInterface
$product \Fabit\SyliusOdooProductPlugin\Model\Product


Automatically generated on 2024-02-03

⚠️ **GitHub.com Fallback** ⚠️