CustomerDeleter

Implements \CustomerDeleterInterface

Class CustomerDeleter

This class is used for deleting customer data.

category

System

package

Customer

implements

CustomerDeleterInterface

Methods

Constructor of the class CustomerDeleter

__construct(\CI_DB_query_builder $dbQueryBuilder) 

Arguments

$dbQueryBuilder

\CI_DB_query_builder

Query builder.

Deletes all data of a specific customer.

delete(\CustomerInterface $customer) : \CustomerDeleter

Arguments

$customer

\CustomerInterface

Customer.

Response

\CustomerDeleter

Same instance for method chaining.

Properties

Query builder.

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder