CustomerServiceFactory

Extends \AbstractCustomerServiceFactory

Class CustomerServiceFactory

Factory class for all needed customer data.

category

System

package

Customer

extends

AbstractCustomerServiceFactory

Methods

CustomerServiceFactory constructor.

__construct(\CI_DB_query_builder $ciDatabaseQueryBuilder) 

Arguments

$ciDatabaseQueryBuilder

\CI_DB_query_builder

Query builder.

Returns a new bool type.

_bool(boolean $bool) : \BoolType

Arguments

$bool

boolean

Value of representing type object.

Response

\BoolType

_getAddonValueService

_getAddonValueService() 

_getConfigurationProvider

_getConfigurationProvider() 

Creates a customer address deleter object.

_getCustomerAddressDeleter() : \CustomerAddressDeleter

Response

\CustomerAddressDeleter

Customer address deleter.

Creates a customer address reader object.

_getCustomerAddressReader() : \CustomerAddressReader

Response

\CustomerAddressReader

Customer address reader.

Creates a customer address repository object.

_getCustomerAddressRepository() : \CustomerAddressRepository

Response

\CustomerAddressRepository

Customer address repository.

Creates a customer address writer object.

_getCustomerAddressWriter() : \CustomerAddressWriter

Response

\CustomerAddressWriter

Customer address writer.

Creates a customer country reader object

_getCustomerCountryReader() : \CustomerCountryReader

Response

\CustomerCountryReader

Customer country reader.

Creates a customer country repository object.

_getCustomerCountryRepository() : \CustomerCountryRepository

Response

\CustomerCountryRepository

Customer country repository.

Creates a customer country zone reader object.

_getCustomerCountryZoneReader() : \CustomerCountryZoneReader

Response

\CustomerCountryZoneReader

Customer country zone reader.

Creates a customer country zone repository object.

_getCustomerCountryZoneRepository() : \CustomerCountryZoneRepository

Response

\CustomerCountryZoneRepository

Customer country zone repository.

Creates a customer deleter object.

_getCustomerDeleter() : \CustomerDeleter

Response

\CustomerDeleter

Customer deleter.

Returns the customer factory.

_getCustomerFactory() : \CustomerFactory

Response

\CustomerFactory

Customer factory.

TODO Inject CustomerFactory

Returns customer input validator service by validator name.

_getCustomerInputValidatorServiceByValidatorName(string $inputValidatorName) : object

Arguments

$inputValidatorName

string

Name of input validator service.

Response

object

Found customer input validator service.

Creates a customer reader object.

_getCustomerReader() : \CustomerReader

Response

\CustomerReader

Customer reader.

Creates a customer repository object.

_getCustomerRepository() : \CustomerRepository

Response

\CustomerRepository

Customer repository.

Creates a customer service settings object.

_getCustomerServiceSettings() : \CustomerServiceSettings

Response

\CustomerServiceSettings

Customer service settings.

Creates a customer writer object.

_getCustomerWriter() : \CustomerWriter

Response

\CustomerWriter

Customer writer.

Creates the input validator settings.

_getInputValidatorSettings() : \CustomerInputValidatorSettings

Creates the configuration settings of the input validator.

_getValidatorConfigSettings(\CustomerConfigurationProvider $configProvider) : \CustomerConfigurationSettings

Arguments

$configProvider

\CustomerConfigurationProvider

Component that fetches data from configuration tables.

Response

\CustomerConfigurationSettings

Creates the display settings of the input validator.

_getValidatorDisplaySettings(\CustomerConfigurationProvider $configProvider) : \CustomerDisplaySettings

Arguments

$configProvider

\CustomerConfigurationProvider

Component that fetches data from configuration tables.

Response

\CustomerDisplaySettings

Creates the customer validator error messages.

_getValidatorErrorMessageSettings(\CustomerConfigurationProvider $configProvider) : \CustomerErrorMessageSettings

Arguments

$configProvider

\CustomerConfigurationProvider

Component that fetches data from configuration tables.

Response

\CustomerErrorMessageSettings

Creates the max length settings of the input validator.

_getValidatorMaxLengthSettings() : \CustomerMaxLengthSettings

The max length represent the database field max length.

Response

\CustomerMaxLengthSettings

Creates the min length settings of the input validator.

_getValidatorMinLengthSettings(\CustomerConfigurationProvider $configProvider) : \CustomerMinLengthSettings

Arguments

$configProvider

\CustomerConfigurationProvider

Component that fetches data from configuration tables.

Response

\CustomerMinLengthSettings

Returns a new int type.

_int(integer $int) : \IntType

Arguments

$int

integer

Value of representing type object.

Response

\IntType

Returns a new string type.

_string(string $str) : \StringType

Arguments

$str

string

Value of representing type object.

Response

\StringType

Creates a customer read service object.

createCustomerReadService() : \CustomerReadService
inherited abstract

Response

\CustomerReadService

Customer read service.

Creates a customer service object.

createCustomerWriteService() : \CustomerService
inherited abstract

Response

\CustomerService

Customer service.

Returns the address book service.

getAddressBookService() : \AddressBookService
inherited abstract

Response

\AddressBookService

Address book service.

Returns the country service.

getCountryService() : \CountryService
inherited abstract

Response

\CountryService

Country service.

Returns the customer account input validator.

getCustomerAccountInputValidator() : \CustomerAccountInputValidator
inherited abstract

Response

\CustomerAccountInputValidator

Customer account input validator.

Returns the customer input validator.

getCustomerAddressInputValidatorService() : \CustomerAddressInputValidator
inherited abstract

Response

\CustomerAddressInputValidator

Customer input validator.

Returns the customer registration input validator service.

getCustomerRegistrationInputValidatorService() : \CustomerRegistrationInputValidatorService
inherited abstract

Response

\CustomerRegistrationInputValidatorService

Customer registration input validator service.

Returns the customer service.

getCustomerService() : \CustomerService
inherited abstract

Response

\CustomerService

Customer service.

Returns the database query builder.

getDatabaseQueryBuilder() : \CI_DB_query_builder
inherited abstract

Response

\CI_DB_query_builder

Query builder.

Properties

Query builder.

ciDatabaseQueryBuilder : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder

configurationProvider

configurationProvider : \CustomerConfigurationProvider