SharedShoppingCartReader

Implements \SharedShoppingCartReaderInterface

Class SharedShoppingCartReader

category

System

package

SharedShoppingCart

Methods

SharedShoppingCartReader constructor.

__construct(\CI_DB_query_builder $db) 

Arguments

$db

\CI_DB_query_builder

Gets the content in JSON format of the shopping cart corresponding to the hash

getShoppingCart(\StringType $shoppingCartHash) : string

Arguments

$shoppingCartHash

\StringType

Hash of the shopping cart

Response

string

JSON representation of the shopping cart

Properties

db

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder