1 | <?php |
||
11 | class ActionFactory |
||
12 | { |
||
13 | /** |
||
14 | * @var FieldFactory |
||
15 | */ |
||
16 | protected $fieldFactory; |
||
17 | |||
18 | /** |
||
19 | * @var FilterFactory |
||
20 | */ |
||
21 | protected $filterFactory; |
||
22 | |||
23 | /** |
||
24 | * @var ConfigurationFactory |
||
25 | */ |
||
26 | protected $configurationFactory; |
||
27 | |||
28 | /** |
||
29 | * ActionFactory constructor. |
||
30 | * |
||
31 | * @param FieldFactory $fieldFactory |
||
32 | * @param FilterFactory $filterFactory |
||
33 | * @param ConfigurationFactory $configurationFactory |
||
34 | */ |
||
35 | public function __construct( |
||
44 | |||
45 | /** |
||
46 | * Create an Action from configuration values. |
||
47 | * |
||
48 | * @param string $actionName |
||
49 | * @param array $configuration |
||
50 | * @param AdminInterface $admin |
||
51 | * |
||
52 | * @return Action |
||
53 | */ |
||
54 | public function create($actionName, array $configuration, AdminInterface $admin) |
||
81 | } |
||
82 |