Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
10 | public function __construct(array $options = []) |
||
11 | { |
||
12 | $field = $options['form_field_factory'] ?? []; |
||
13 | $manager = $options['data_manager_factory'] ?? []; |
||
14 | $controller = $options['controller'] ?? null; |
||
15 | |||
16 | $this->formFieldFactory = $this->createFormFieldFactory($field); |
||
17 | $this->dataManagerFactory = $this->createDataManagerFactory($manager); |
||
18 | |||
19 | if (isset($controller)) { |
||
20 | $this->controller = $controller; |
||
21 | } |
||
40 |