CoolCMS API

CartMapperFactory
in package

FinalYes

Picks the cart storage by `%eshop.cart.storage%`.

Both concrete implementations are autowired: false in the DI config, so the only autowirable source of CartMapperInterface is the result of this factory; CartService depends on it and not on a concrete variant.

Table of Contents

Properties

$apiMapper  : CartMapper
$sessionMapper  : CartMapper

Methods

__construct()  : mixed
create()  : CartMapperInterface

Properties

Methods

On this page

Search results