<?php
namespace XantenGuestReviews\Storefront\Subscriber;
use Shopware\Core\System\SystemConfig\SystemConfigService;
use Shopware\Storefront\Page\Product\Review\ProductReviewsLoadedEvent;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class ProductReviewsSubscriber implements EventSubscriberInterface
{
/**
* @var SystemConfigService
*/
private $config;
public function __construct(SystemConfigService $config)
{
$this->config = $config;
}
public static function getSubscribedEvents()
{
return [
ProductReviewsLoadedEvent::class => [
['getResources'],
],
];
}
public function getResources(ProductReviewsLoadedEvent $event)
{
}
}