phpDocumentor

WishlistWriter
in package

Table of Contents

$database  : Connection
$factory  : CacheFactory
__construct()  : mixed
Constructor
deleteWishlist()  : void
Deletes the Wishlist for a given user. Also adds a cache to reset the wishlist session.

Properties

Methods

__construct()

Constructor

public __construct(Connection $connection, CacheFactory $factory) : mixed
Parameters
$connection : Connection
$factory : CacheFactory
Return values
mixed

deleteWishlist()

Deletes the Wishlist for a given user. Also adds a cache to reset the wishlist session.

public deleteWishlist(CustomerId $customerId) : void
Parameters
$customerId : CustomerId
Return values
void

Search results