Logidav Docs

WishlistService extends TransactionalService
in package

Class WishListService

Table of Contents

Constants

LAST_WISHLIST_ITEM_ID_CONFIG_CODE  = 'LAST_WISHLIST_ITEM_ID'

Properties

$container  : ContainerInterface
$em  : EntityManager
$wishlistRepository  : WishlistRepository

Methods

add()  : mixed
Save wishlist from menzzzo
addRepository()  : void
Add a repository to this service
addService()  : void
Add a service to this service
getEntityManager()  : EntityManager
Getter of the Entity Manager
getLastWishlistItemId()  : mixed
getRepo()  : WishlistRepository
Get wishlist Repository
save()  : WishList
Save a Wishlist
setEntityManager()  : mixed
Setter of the Entity Manager
setLastWishlistItem()  : int

Constants

LAST_WISHLIST_ITEM_ID_CONFIG_CODE

public mixed LAST_WISHLIST_ITEM_ID_CONFIG_CODE = 'LAST_WISHLIST_ITEM_ID'

Properties

Methods

add()

Save wishlist from menzzzo

public add(mixed $data) : mixed
Parameters
$data : mixed

addRepository()

Add a repository to this service

public addRepository(int $key, string $class) : void
Parameters
$key : int

Key

$class : string

Class

addService()

Add a service to this service

public addService(int $key, mixed $service) : void
Parameters
$key : int

Key

$service : mixed

getEntityManager()

Getter of the Entity Manager

public getEntityManager() : EntityManager
Return values
EntityManager

getLastWishlistItemId()

public getLastWishlistItemId() : mixed
Tags
@return

|null

save()

Save a Wishlist

public save(WishList $wishlist) : WishList
Parameters
$wishlist : WishList
Return values
WishList

setEntityManager()

Setter of the Entity Manager

public setEntityManager(EntityManager $em) : mixed
Parameters
$em : EntityManager

the Entity Manager

setLastWishlistItem()

public setLastWishlistItem(mixed $lastWishlistItemId) : int
Parameters
$lastWishlistItemId : mixed
Tags
throws
OptimisticLockException
Return values
int

        
On this page

Search results