interface AdvanceUserInterface

Interface AdvanceUserInterface

Methods

setGroups(array $groups)

No description

Collection
getGroups()

Gets the groups granted to the user.

array
getRoles()

No description

loadRoles()

No description

boolean
hasRole(string $rol)

No description

setSalt(string $salt)

No description

addOrder(OrderInterface $order)

Adds order to user.

removeOrder(OrderInterface $order)

Remove order from user.

Collection|OrderInterface[]
getOrders()

Get orders.

setOrders(null|Collection|OrderInterface[] $orders)

Set items.

string
getType()

No description

setType(string $type)

No description

mixed
getAddress()

No description

setAddress(mixed $address)

No description

mixed
getCompany()

No description

setCompany(mixed $company)

No description

string
getFirstName()

No description

setFirstName(string $firstName)

No description

string
getLastName()

No description

setLastName(string $lastName)

No description

mixed
getAvatar()

No description

setAvatar(mixed $avatar)

No description

addStatistic(Statistics $statistic)

Add statistic

removeStatistic(Statistics $statistic)

Remove statistic

Collection
getStatistics()

Get statistics

addProductToWishList(Product $product)

Adds product to wishlist.

removeProductFromWishList(Product $product)

No description

ArrayCollection
getWishList()

No description

setWishList(mixed $wishList)

No description

addCoupon(Coupon $coupon)

No description

removeCoupon(Coupon $coupon)

No description

ArrayCollection
getCoupons()

No description

Details

at line 28
setGroups(array $groups)

Parameters

array $groups

at line 35
Collection getGroups()

Gets the groups granted to the user.

Return Value

Collection

at line 40
array getRoles()

Return Value

array

at line 45
User loadRoles()

Return Value

User

at line 52
boolean hasRole(string $rol)

Parameters

string $rol

Return Value

boolean

at line 57
setSalt(string $salt)

Parameters

string $salt

at line 65
addOrder(OrderInterface $order)

Adds order to user.

Parameters

OrderInterface $order

at line 72
removeOrder(OrderInterface $order)

Remove order from user.

Parameters

OrderInterface $order

at line 79
Collection|OrderInterface[] getOrders()

Get orders.

Return Value

Collection|OrderInterface[] An array or collection of OrderInterface

at line 86
setOrders(null|Collection|OrderInterface[] $orders)

Set items.

Parameters

null|Collection|OrderInterface[] $orders

at line 91
string getType()

Return Value

string

at line 96
setType(string $type)

Parameters

string $type

at line 102
mixed getAddress()

Return Value

mixed

at line 107
setAddress(mixed $address)

Parameters

mixed $address

at line 112
mixed getCompany()

Return Value

mixed

at line 117
setCompany(mixed $company)

Parameters

mixed $company

at line 122
string getFirstName()

Return Value

string

at line 127
setFirstName(string $firstName)

Parameters

string $firstName

at line 132
string getLastName()

Return Value

string

at line 137
setLastName(string $lastName)

Parameters

string $lastName

at line 142
mixed getAvatar()

Return Value

mixed

at line 147
setAvatar(mixed $avatar)

Parameters

mixed $avatar

at line 156
User addStatistic(Statistics $statistic)

Add statistic

Parameters

Statistics $statistic

Return Value

User

at line 163
removeStatistic(Statistics $statistic)

Remove statistic

Parameters

Statistics $statistic

at line 170
Collection getStatistics()

Get statistics

Return Value

Collection

at line 177
addProductToWishList(Product $product)

Adds product to wishlist.

Parameters

Product $product

at line 182
removeProductFromWishList(Product $product)

Parameters

Product $product

at line 187
ArrayCollection getWishList()

Return Value

ArrayCollection

at line 192
setWishList(mixed $wishList)

Parameters

mixed $wishList

at line 198
addCoupon(Coupon $coupon)

Parameters

Coupon $coupon

at line 203
removeCoupon(Coupon $coupon)

Parameters

Coupon $coupon

at line 208
ArrayCollection getCoupons()

Return Value

ArrayCollection