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 CustomerGroupFactory object.

_createFactory() : $this

Consecutive call provide the same Object.

Response

$this

Creates a new instance of a CustomerGroupReadService object.

_createReader() : \CustomerGroupServiceFactory

Consecutive calls provide the same object.

Response

\CustomerGroupServiceFactory

Creates a new instance of a CustomerGroupRepository object.

_createRepository() : \CustomerGroupServiceFactory

Consecutive calls provide the same object.

Response

\CustomerGroupServiceFactory

Creates a new instance of a CustomerGroupWritService object.

_createWriter() : \CustomerGroupServiceFactory

Consecutive calls provide the same object.

Response

\CustomerGroupServiceFactory

createFactory

createFactory() 

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

factory

factory : \CustomerGroupFactory
var

Type(s)

\CustomerGroupFactory