CustomerGroupServiceFactory

Class CustomerGroupServiceFactory *

category

System

package

CustomerGroup

subpackage

Factories

Methods

CustomerGroupServiceFactory constructor.

__construct(\CI_DB_query_builder $queryBuilder) 

Arguments

$queryBuilder

\CI_DB_query_builder

for database connection.

Creates a new instance of a CustomerGroupReadService object.

_createReader() : \CustomerGroupReadServiceInterface

Consecutive calls provide the same object.

Response

\CustomerGroupReadServiceInterface

Creates a new instance of a CustomerGroupRepository object.

_createRepository() : \CustomerGroupAccessRepository

Consecutive calls provide the same object.

Response

\CustomerGroupAccessRepository

Creates a new instance of a CustomerGroupWritService object.

_createWriter() : \CustomerGroupWriteServiceInterface

Consecutive calls provide the same object.

Response

\CustomerGroupWriteServiceInterface

Creates a customer group read service.

createReadService() : \CustomerGroupReadServiceInterface

Creates a customer group write service.

createWriteService() : \CustomerGroupWriteServiceInterface

Properties

queryBuilder

queryBuilder : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder

accessRepository

accessRepository : \CustomerGroupAccessRepository

writeService

writeService : \CustomerGroupWriteServiceInterface

readerService

readerService : \CustomerGroupReadServiceInterface