ProductImageContainerRepositoryInterface
in
Interface ProductImageContainerRepositoryInterface
Tags
Table of Contents
- deleteByProductId() : ProductImageContainerRepositoryInterface
- Deletes a product image container based on the product ID given.
- getByProductId() : ProductImageContainerInterface
- Returns a product image container based on the product ID given.
- store() : ProductImageContainerRepositoryInterface
- Stores the product image container.
Methods
deleteByProductId()
Deletes a product image container based on the product ID given.
public
deleteByProductId(IdType $productId) : ProductImageContainerRepositoryInterface
Parameters
- $productId : IdType
-
Product ID.
Return values
ProductImageContainerRepositoryInterface —Same instance for method chaining.
getByProductId()
Returns a product image container based on the product ID given.
public
getByProductId(IdType $productId) : ProductImageContainerInterface
Parameters
- $productId : IdType
-
Product ID.
Return values
ProductImageContainerInterface —Product image container.
store()
Stores the product image container.
public
store(IdType $productId, ProductImageContainerInterface $imageContainer) : ProductImageContainerRepositoryInterface
Parameters
- $productId : IdType
-
Product ID.
- $imageContainer : ProductImageContainerInterface
-
Product image container.
Return values
ProductImageContainerRepositoryInterface —Same instance for method chaining.