<?php declare(strict_types=1);
namespace CoeAccountOrtPlzSw6\Subscriber;
use Shopware\Core\Framework\DataAbstractionLayer\Event\EntityLoadedEvent;
use Shopware\Core\System\Country\CountryEvents;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
Class CountrySubscriber implements EventSubscriberInterface {
public function __construct() {
}
public static function getSubscribedEvents() {
return [
CountryEvents::COUNTRY_LOADED_EVENT => "onCountryLoaded"
];
}
public function onCountryLoaded(EntityLoadedEvent $event){
// dd($event);
}
}