complete actionFactory with some phpdoc

This commit is contained in:
Manuel Raynaud
2013-05-22 10:04:22 +02:00
parent 7570e55ba8
commit cb2308a9aa

View File

@@ -30,13 +30,22 @@ use Thelia\Core\Event\ActionEventClass;
class ActionEventFactory class ActionEventFactory
{ {
/**
* @var \Symfony\Component\HttpFoundation\Request
*/
protected $request; protected $request;
/**
* @var string
*/
protected $action; 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; protected $className;