phpDocumentor

ProductAttributeRepositoryReaderInterface

Interface ProductAttributeRepositoryReaderInterface

Tags
category

System

subpackage

Interface

Table of Contents

getAttributeById()  : StoredProductAttributeInterface
Returns a product attribute entity by the given product attribute id.
getAttributesByProductId()  : StoredProductAttributeCollection
Returns a collection with all product attribute entities which belongs to the product entity by the given product id.

Methods

getAttributesByProductId()

Returns a collection with all product attribute entities which belongs to the product entity by the given product id.

public getAttributesByProductId(IdType $productId) : StoredProductAttributeCollection
Parameters
$productId : IdType

Id of product entity which belongs to the expected product attribute entities.

Return values
StoredProductAttributeCollection

Collection which contains all expected product attribute entities.

Search results