CustomerGroupWriter

Implements \CustomerGroupWriterInterface

Class CustomerGroupWriter

category

System

package

CustomerGroup

subpackage

Repositories

Methods

CustomerGroupWriter constructor.

__construct(\CI_DB_query_builder $queryBuilder, \LanguageProvider $languageProvider) 

Arguments

$queryBuilder

\CI_DB_query_builder

$languageProvider

\LanguageProvider

Saves customer group entity data in database.

store(\CustomerGroupInterface $customerGroup) : $this|\CustomerGroupWriterInterface

Arguments

$customerGroup

\CustomerGroupInterface

Customer group to be saved.

Response

$this|\CustomerGroupWriterInterface

Same instance for chained method calls.

Updates customer group entity data in database.

update(\CustomerGroupInterface $customerGroup) : $this|\CustomerGroupWriterInterface

Arguments

$customerGroup

\CustomerGroupInterface

Customer group to be updated.

Response

$this|\CustomerGroupWriterInterface

Same instance for chained method calls.

Properties

queryBuilder

queryBuilder : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder

languageProvider

languageProvider : \LanguageProvider
var

Type(s)

\LanguageProvider