Interface ProductImageContainerInterface

Interface ProductImageContainerInterface

Direct known implementers

ProductImageContainer

Methods summary

public setPrimary( ProductImageInterface $image ) : ProductImageContainerInterface

Sets the primary image of the image container.

public getPrimary( void ) : ProductImageInterface

Returns the primary product image from the image container.

public addAdditional( ProductImageInterface $image ) : ProductImageContainerInterface

Adds an additional image to the container.

public getAdditionals( void ) : ProductImageCollection

Returns the collection of additional images from the image container.

public replaceAdditional( FilenameStringType $imageFile, ProductImageInterface $image ) : ProductImageContainerInterface

Replaces an additional product image in the container.

public delete( FilenameStringType $imageFile ) : ProductImageContainerInterface

Deletes an image from the image container.