<?php
namespace Plugin\EventCalendar42\EventSubscriber\Admin;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\Form\FormFactoryInterface;
use Symfony\Component\ErrorHandler\Error\ClassNotFoundError;
use Eccube\Event\TemplateEvent;
use Eccube\Event\EventArgs;
use Eccube\Event\EccubeEvents;
use Eccube\Repository\ClassCategoryRepository;
class ShopControllerSubscriber implements EventSubscriberInterface
{
/**
* @return array
*/
public static function getSubscribedEvents()
{
return [
'@admin/Setting/Shop/shop_master.twig' => ['EventCalendar42', 1],
];
}
/**
* @param TemplateEvent $event
*/
public function EventCalendar42(TemplateEvent $event)
{
$event->addSnippet('@EventCalendar42/admin/Setting/Shop/shop_master.twig');
}
/**
* @param EventArgs $event
*/
public function AdminSettingShopShopIndexComplete(EventArgs $event)
{
}
}