1 | <?php |
||
11 | final class MappedEntityFormFactory |
||
12 | { |
||
13 | /** @var FormFactoryInterface */ |
||
14 | private $factory; |
||
15 | /** @var PropertyMapperInterface */ |
||
16 | private $mapper; |
||
17 | |||
18 | /** |
||
19 | * MappedEntityFormFactory constructor. |
||
20 | * |
||
21 | * @param FormFactoryInterface $factory |
||
22 | * @param PropertyMapperInterface $mapper |
||
23 | */ |
||
24 | 3 | public function __construct(FormFactoryInterface $factory, PropertyMapperInterface $mapper) |
|
29 | |||
30 | /** |
||
31 | * @param $className |
||
32 | * |
||
33 | * @return FormInterface |
||
34 | * |
||
35 | * @throws EntityProcessingException |
||
36 | */ |
||
37 | 3 | public function createFormForClass($className) |
|
72 | } |
||
73 |