diff --git a/core/lib/Thelia/Core/Factory/ActionEventFactory.php b/core/lib/Thelia/Core/Factory/ActionEventFactory.php index 10e568a4a..04b7cab6f 100644 --- a/core/lib/Thelia/Core/Factory/ActionEventFactory.php +++ b/core/lib/Thelia/Core/Factory/ActionEventFactory.php @@ -30,13 +30,22 @@ use Thelia\Core\Event\ActionEventClass; class ActionEventFactory { + /** + * @var \Symfony\Component\HttpFoundation\Request + */ protected $request; + + /** + * @var string + */ protected $action; /** - * @todo : delegate to config for creating associating value + * array( + * "action.addCart" => "Thelia\Core\Event\CartAction" + * ) * - * @var array + * @var array key are action name and value the Event class to dispatch */ protected $className;