<?php declare(strict_types=1);
namespace Ecd\econdWebAnalytics\Core\Checkout\Customer\Event\Subscriber;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Shopware\Core\Checkout\Customer\Event\CustomerLoginEvent;
class CustomerLoginEventSubscriber implements EventSubscriberInterface
{
public static function getSubscribedEvents()
{
return [
CustomerLoginEvent::class => 'onCustomerLoginEvent'
];
}
public function onCustomerLoginEvent(CustomerLoginEvent $event)
{
$_SESSION['emos_LogInRequestSend'] = true;
}
}