OrderRepositoryDeleter

Implements \OrderRepositoryDeleterInterface

Class OrderRepositoryDeleter

category

System

package

Order

subpackage

Repositories

Methods

OrderRepositoryDeleter constructor.

__construct(\CI_DB_query_builder $db) 

Arguments

$db

\CI_DB_query_builder

Query builder.

Removes an order from the orders table by the given ID.

deleteById(\IdType $orderId) : \OrderRepositoryDeleter

Arguments

$orderId

\IdType

ID of order which should removed.

Response

\OrderRepositoryDeleter

Same instance for method chaining.

Properties

Query builder.

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder