CoolCMS API

CartService
in package

FinalYes

Decides which storage (session or DB) holds items, vouchers and checkout; nothing more.

No business logic (held by CartManager) and no calls to other models/managers: it only passes to the injected CartMapperInterface, whose concrete variant CartMapperFactory selects by %eshop.cart.storage%.

Table of Contents

Properties

$mapper  : CartMapperInterface

Methods

__construct()  : mixed
load()  : CartSnapshot
save()  : void

Properties

Methods

On this page

Search results