Class CustomerWriter

Class CustomerWriter

This class is used for writing customer data to the database

CustomerWriter implements CustomerWriterInterface
Package: Customer
Category: System
Implements: CustomerWriterInterface
Located at Services/Core/Customer/CustomerWriter.inc.php

Methods summary

public __construct( CI_DB_query_builder $dbQueryBuilder )

Constructor of the class CustomerWriter.

public write( CustomerInterface $customer )

Writes customer data.

protected _insert( CustomerInterface $customer )

Helper method to insert customer data into the database.

protected _update( CustomerInterface $customer )

Helper method to update customer data in the database.

Properties summary

protected $db : CI_DB_query_builder

Query builder.