| 1 | <?php |
||
| 12 | class RestFormFactory |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var FormFactoryInterface |
||
| 16 | */ |
||
| 17 | private $formFactory; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var FormTypeInterface |
||
| 21 | */ |
||
| 22 | private $formType; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param FormFactoryInterface $formFactory |
||
| 26 | * @param FormTypeInterface $formType |
||
| 27 | */ |
||
| 28 | 1 | public function __construct(FormFactoryInterface $formFactory, FormTypeInterface $formType) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @param object $data |
||
| 36 | * @param array $options |
||
| 37 | * |
||
| 38 | * @return FormInterface |
||
| 39 | */ |
||
| 40 | 1 | public function create($data = null, array $options = array()) |
|
| 45 | } |
||
| 46 |