MassMailEventContainer
class MassMailEventContainer
Class MassMailEventContainer is injected as alligator.mass.mail.event.container. This container is connecting manager to other services
Methods
No description
Check if user has role admin
Get default locale
Get products collection from products array
Get all users in array
Get all products from array
Get all users for mail
Get all user emails
Get current currency
Get current logged user
Get server path
Find users by mails array
Get current request
Get product group reference
Details
at line 31
__construct(ContainerInterface $container)
at line 40
mixed
hasRoleAdmin()
Check if user has role admin
at line 50
string
getDefaultLocale()
Get default locale
at line 61
array|QueryBuilder
getProductsArray(ArrayCollection $products)
Get products collection from products array
at line 72
array
getAllUsersInArray(array $arrayOfUsers)
Get all users in array
at line 83
array
getAllProductsFromArray(array $productsArray)
Get all products from array
at line 92
array
getAllUsersForMailSelect()
Get all users for mail
at line 106
array
getUsers(mixed $param, mixed $page, int $offset, mixed $arrayOfUsers = null)
Get all user emails
at line 115
mixed
getCurrentCurrency()
Get current currency
at line 124
mixed
getLoggedUser()
Get current logged user
at line 140
mixed
getReferenceForFile(File $file)
Get reference for file
at line 149
string
getServerPath()
Get server path
at line 160
mixed
findUsersByMails(array $mails)
Find users by mails array
at line 169
null|Request
getCurrentRequest()
Get current request
at line 181
ProductGroup
getProductGroupReference(int|string $id)
Get product group reference