StatisticsListener
class StatisticsListener
Class StatisticsListener is injected as alligator.statistics.listener service. StatisticsListener is listener class for handling a logic for dispatched events
Constants
| ROUTES_FOR_SOCKET |
Routes that should be sent via socket |
| VISITED_ACTIONS |
|
| CART_ACTIONS |
|
Methods
__construct(ContainerInterface $container)
StatisticsListener constructor.
onPageVisit(PostResponseEvent $event)
Persist shop visit statistic and dispatch event for notifying all subscribers. Executes on kernel.terminate event
Details
at line 58
__construct(ContainerInterface $container)
StatisticsListener constructor.
at line 72
onPageVisit(PostResponseEvent $event)
Persist shop visit statistic and dispatch event for notifying all subscribers. Executes on kernel.terminate event
at line 188
getAddedRemovedProductOlapData(EventWithResult $event)
Find added and removed products for OLAP