ProductServiceFactory

Extends \AbstractProductServiceFactory

Class ProductServiceFactory

category

System

package

Product

subpackage

Factories

Methods

ProductServiceFactory constructor.

__construct(\CI_DB_query_builder $db) 

Arguments

$db

\CI_DB_query_builder

Database connection.

Creates a product object service.

createProductObjectService() : \ProductObjectServiceInterface
inherited abstract

Creates a product read service.

createProductReadService() : \ProductReadServiceInterface
inherited abstract

Creates a new instance of a ProductRepository object.

createProductRepository() : \ProductRepository

Consecutive calls provide the same object.

Response

\ProductRepository

Creates a product write service.

createProductWriteService() : \ProductWriteServiceInterface
inherited abstract

Properties