32 lines
550 B
PHP
32 lines
550 B
PHP
<?php
|
|
/**
|
|
* User: Yohann Genre
|
|
* Date: 30/10/2015
|
|
* Time: 16:33
|
|
*
|
|
*/
|
|
|
|
namespace AdvancePrices\Action;
|
|
|
|
use Symfony\Component\Config\Definition\Exception\Exception;
|
|
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
|
use Thelia\Core\Event\ActionEvent;
|
|
use Thelia\Core\Event\TheliaEvents;
|
|
|
|
class Price implements EventSubscriberInterface
|
|
{
|
|
|
|
public function update(ActionEvent $event)
|
|
{
|
|
throw new Exception('zob');
|
|
}
|
|
|
|
public static function getSubscribedEvents()
|
|
{
|
|
return array(
|
|
|
|
);
|
|
}
|
|
|
|
|
|
} |