ProductPaymentTypeEventContainer
class ProductPaymentTypeEventContainer
Class ProductPaymentTypeEventContainer is injected as empire_product_for_payment_type.event.container. This container is connecting ProductPaymentTypeManager manager to other services
Constants
| PRODUCT_FOR_PAYMENT_TYPE |
|
Properties
| protected ContainerInterface | $container |
Methods
__construct(ContainerInterface $container)
ProductPaymentTypeEventContainer constructor.
getProductManager()
No description
setProductForPaymentTypeToCache(string $data)
Set string representation of product payment types to cache
array
getProductForPaymentTypeFromCache()
Get string representation of product payment types from cache
dispatchChangeEvent()
Dispatch event for cache
string
getDefaultLocale()
Get locale from current request
Details
at line 33
__construct(ContainerInterface $container)
ProductPaymentTypeEventContainer constructor.
at line 41
ProductManager
getProductManager()
at line 50
setProductForPaymentTypeToCache(string $data)
Set string representation of product payment types to cache
at line 59
array
getProductForPaymentTypeFromCache()
Get string representation of product payment types from cache
at line 67
dispatchChangeEvent()
Dispatch event for cache
at line 76
string
getDefaultLocale()
Get locale from current request