1 | <?php |
||
10 | class ActionDispatcherDomain extends AbstractDomain |
||
11 | { |
||
12 | /** |
||
13 | * @var ActionFactory |
||
14 | */ |
||
15 | protected $actionFactory; |
||
16 | |||
17 | /** |
||
18 | * Construct. |
||
19 | * |
||
20 | * @param ActionFactory $actionFactory |
||
21 | */ |
||
22 | public function __construct(ActionFactory $actionFactory) |
||
26 | |||
27 | /** |
||
28 | * Create and return a promise of $name action. |
||
29 | * |
||
30 | * @param string $name |
||
31 | * |
||
32 | * @return ActionInterface |
||
33 | */ |
||
34 | public function getAction($name, $relatedEntity = null, ...$arguments) |
||
45 | } |
||
46 |