event classes must extends ActionEvent

This commit is contained in:
Manuel Raynaud
2013-09-04 11:33:24 +02:00
parent 8b2007f94d
commit 1105990a41
5 changed files with 62 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ use Thelia\Model\Customer;
* @package Thelia\Core\Event
* @author Manuel Raynaud <mraynaud@openstudio.fr>
*/
class AddressCreateOrUpdateEvent extends Event
class AddressCreateOrUpdateEvent extends ActionEvent
{
/**
* @var string address label

View File

@@ -26,7 +26,7 @@ namespace Thelia\Core\Event;
use Symfony\Component\EventDispatcher\Event;
use Thelia\Model\Cart;
class CartEvent extends Event
class CartEvent extends ActionEvent
{
protected $cart;
protected $quantity;

View File

@@ -13,7 +13,7 @@ namespace Thelia\Core\Event;
use Symfony\Component\EventDispatcher\Event;
use Thelia\Model\Customer;
class CustomerCreateOrUpdateEvent extends Event {
class CustomerCreateOrUpdateEvent extends ActionEvent {
//base parameters for creating new customer
protected $title;