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