phpDocumentor

ProductAttributeRepository implements ProductAttributeRepositoryInterface

Class ProductAttributeRepository

Tags
category

System

subpackage

Repositories

Interfaces, Classes and Traits

ProductAttributeRepositoryInterface
Interface ProductAttributeRepositoryInterface

Table of Contents

$deleter  : ProductAttributeRepositoryDeleterInterface
$reader  : ProductAttributeRepositoryReaderInterface
$writer  : ProductAttributeRepositoryWriterInterface
__construct()  : mixed
Initialize the product attribute repository.
addToProduct()  : int
Adds an product attribute to a product by the given id.
deleteAttributeById()  : ProductAttributeRepository|$this
Removes a product attribute entity by the given product attribute id.
deleteAttributesByProductId()  : ProductAttributeRepository|$this
Removes product attributes by the given product id.
getAttributeById()  : StoredProductAttributeInterface
Returns a stored product attribute entity by the given product attribute id.
getAttributesByProductId()  : StoredProductAttributeCollection
Returns a collection with all attribute entities that belongs to a product entity by the given product id.
store()  : ProductAttributeRepository|$this
Stores/Updates the passed product attribute entity.

Properties

Methods

Search results