CoolCMS API

CartMapper
in package
implements CartMapperInterface

FinalYes

Session variant of the cart mapper.

$userId is ignored: an anonymous cart survives login by itself because regenerateId() keeps the section data (see CartManager).

Table of Contents

Interfaces

CartMapperInterface
Translates between the raw storage (session section or Api wire payload) and {@see CartSnapshot}.

Properties

$repository  : CartRepository

Methods

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

Properties

Methods

On this page

Search results