ProductAttributeObjectService
in package
implements
ProductAttributeObjectServiceInterface
Class ProductAttributeObjectService
Tags
Interfaces, Classes and Traits
- ProductAttributeObjectServiceInterface
- Interface ProductAttributeObjectServiceInterface
Table of Contents
- $productAttributeFactory : ProductAttributeFactoryInterface
- __construct() : mixed
- Initialize the product attribute object service.
- createProductAttributeObject() : ProductAttributeInterface
- Creates a new instance of a product attribute object.
Properties
$productAttributeFactory
protected
ProductAttributeFactoryInterface
$productAttributeFactory
Methods
__construct()
Initialize the product attribute object service.
public
__construct(ProductAttributeFactoryInterface $productAttributeFactory) : mixed
Parameters
- $productAttributeFactory : ProductAttributeFactoryInterface
Return values
mixed —createProductAttributeObject()
Creates a new instance of a product attribute object.
public
createProductAttributeObject(IdType $optionId, IdType $valueId) : ProductAttributeInterface
Parameters
Return values
ProductAttributeInterface —New instance of product attribute.