AdvanceUserInterface
interface AdvanceUserInterface
Interface AdvanceUserInterface
Methods
setGroups(array $groups)
No description
Collection
getGroups()
Gets the groups granted to the user.
array
getRoles()
No description
boolean
hasRole(string $rol)
No description
setSalt(string $salt)
No description
Collection|OrderInterface[]
getOrders()
Get orders.
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
Collection
getStatistics()
Get statistics
ArrayCollection
getWishList()
No description
setWishList(mixed $wishList)
No description
ArrayCollection
getCoupons()
No description
Details
at line 28
setGroups(array $groups)
at line 35
Collection
getGroups()
Gets the groups granted to the user.
at line 40
array
getRoles()
at line 45
User
loadRoles()
at line 52
boolean
hasRole(string $rol)
at line 57
setSalt(string $salt)
at line 65
addOrder(OrderInterface $order)
Adds order to user.
at line 72
removeOrder(OrderInterface $order)
Remove order from user.
at line 79
Collection|OrderInterface[]
getOrders()
Get orders.
at line 86
setOrders(null|Collection|OrderInterface[] $orders)
Set items.
at line 91
string
getType()
at line 96
setType(string $type)
at line 102
mixed
getAddress()
at line 107
setAddress(mixed $address)
at line 112
mixed
getCompany()
at line 117
setCompany(mixed $company)
at line 122
string
getFirstName()
at line 127
setFirstName(string $firstName)
at line 132
string
getLastName()
at line 137
setLastName(string $lastName)
at line 142
mixed
getAvatar()
at line 147
setAvatar(mixed $avatar)
at line 156
User
addStatistic(Statistics $statistic)
Add statistic
at line 163
removeStatistic(Statistics $statistic)
Remove statistic
at line 170
Collection
getStatistics()
Get statistics
at line 177
addProductToWishList(Product $product)
Adds product to wishlist.