ProductImageContainerRepositoryInterface

Extends

Interface ProductImageContainerRepositoryInterface

category

System

package

Product

subpackage

Interfaces

Methods

Deletes a product image container based on the product ID given.

deleteByProductId(\IdType $productId) : \ProductImageContainerRepositoryInterface

Arguments

$productId

\IdType

Product ID.

Response

\ProductImageContainerRepositoryInterface

Same instance for method chaining.

Returns a product image container based on the product ID given.

getByProductId(\IdType $productId) : \ProductImageContainerInterface

Arguments

$productId

\IdType

Product ID.

Response

\ProductImageContainerInterface

Product image container.

Stores the product image container.

store(\IdType $productId, \ProductImageContainerInterface $imageContainer) : \ProductImageContainerRepositoryInterface

Arguments

$productId

\IdType

Product ID.

$imageContainer

\ProductImageContainerInterface

Product image container.

Response

\ProductImageContainerRepositoryInterface

Same instance for method chaining.