Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | public function createBoundObjectForm($object, $purpose = null, array $options = array()) |
||
30 | { |
||
31 | if (!$this->getRequest()->isMethodSafe()) { |
||
32 | $options = array_merge(array('method' => $this->getRequest()->getMethod()), $options); |
||
33 | } |
||
34 | $form = $this->createObjectForm($object, $purpose, $options); |
||
35 | $form->handleRequest($this->getRequest()); |
||
36 | |||
37 | return $form; |
||
38 | } |
||
39 | |||
55 |