ItemWishListService

Namespace

IO\Services

Properties
Type Name Description

``

$itemWishListRepo

Methods
public __construct($sessionStorage)
Parameters

Type

Name

Description

``

$sessionStorage

public addItemWishListEntry($variationId, $quantity):mixed
Parameters

Type

Name

Description

int

$variationId

int

$quantity

public isItemInWishList($variationId):bool
Parameters

Type

Name

Description

int

$variationId

public getItemWishList():array
public getCountedItemWishList():int
public removeItemWishListEntry($variationId):bool
Parameters

Type

Name

Description

int

$variationId

public migrateGuestItemWishList()