ProductObjectService
in package
implements
ProductObjectServiceInterface
Class ProductObjectService
Tags
Interfaces, Classes and Traits
- ProductObjectServiceInterface
- Interface ProductObjectServiceInterface
Table of Contents
- $productFactory : ProductFactoryInterface
- Product factory.
- __construct() : mixed
- ProductObjectService constructor.
- createProductObject() : ProductInterface
- Creates a product object.
Properties
$productFactory
Product factory.
protected
ProductFactoryInterface
$productFactory
Methods
__construct()
ProductObjectService constructor.
public
__construct(ProductFactoryInterface $productFactory) : mixed
Parameters
- $productFactory : ProductFactoryInterface
-
Product factory.
Return values
mixed —createProductObject()
Creates a product object.
public
createProductObject() : ProductInterface
Return values
ProductInterface —The created product.