complete actionFactory with some phpdoc
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user