ManufacturerWriter

Implements \ManufacturerWriterInterface

Class ManufacturerWriter

category

System

package

Manufacturer

subpackage

Repositories

Methods

ManufacturerWriter constructor.

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

Arguments

$queryBuilder

\CI_DB_query_builder

$languageProvider

\LanguageProvider

Saves manufacturer entity data in database.

store(\ManufacturerInterface $manufacturer) : $this|\ManufacturerWriterInterface

Arguments

$manufacturer

\ManufacturerInterface

Manufacturer to be saved.

Response

$this|\ManufacturerWriterInterface

Same instance for chained method calls.

Updates manufacturer entity data in database.

update(\ManufacturerInterface $manufacturer) : $this|\ManufacturerWriterInterface

Arguments

$manufacturer

\ManufacturerInterface

Manufacturer to be updated.

Response

$this|\ManufacturerWriterInterface

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