| 1 | <?php |
||
| 7 | class ActionFactory extends Mapping |
||
| 8 | { |
||
| 9 | 3 | public function __construct(array $mapping) |
|
| 13 | |||
| 14 | /** |
||
| 15 | * @param array $config |
||
| 16 | * |
||
| 17 | * @return \Mcustiel\PowerRoute\Actions\ActionInterface[] |
||
| 18 | */ |
||
| 19 | 3 | public function createFromConfig(array $config, PowerRoute $executor) |
|
| 29 | |||
| 30 | 3 | private function createActionFromConfig($actionData, $executor) |
|
| 37 | |||
| 38 | 3 | private function getConstructorArgument($executor, $argument, $class) |
|
| 50 | } |
||
| 51 |