<?php declare(strict_types=1);
namespace DreiscSet\Subscriber\ProductEvents;
use Shopware\Core\Content\Product\ProductEvents;
use Shopware\Core\System\SalesChannel\Entity\SalesChannelEntityLoadedEvent;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class ProductLoadedSubscriber implements EventSubscriberInterface
{
/**
* @return array|void
*/
public static function getSubscribedEvents()
{
return [
'sales_channel.' . ProductEvents::PRODUCT_LOADED_EVENT => 'onSalesChannelProductLoaded'
];
}
/**
* @param SalesChannelEntityLoadedEvent $salesChannelEntityLoadedEvent
*/
public function onSalesChannelProductLoaded(SalesChannelEntityLoadedEvent $salesChannelEntityLoadedEvent): void
{
}
}