From cb2308a9aac80c40c9724c9a915468406100d1cc Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Wed, 22 May 2013 10:04:22 +0200 Subject: [PATCH] complete actionFactory with some phpdoc --- core/lib/Thelia/Core/Factory/ActionEventFactory.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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;