| Conditions | 3 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 51 | public function get($name, $options = [], $usePeeringServiceManagers = true) |
||
| 52 | { |
||
| 53 | $formElementManager = $this->getServiceLocator()->get('FormElementManager'); |
||
| 54 | if ($formElementManager->has($name)) { |
||
| 55 | $form = $formElementManager->get($name); |
||
| 56 | if ($form instanceof FormInterface) { |
||
| 57 | return $form; |
||
| 58 | } |
||
| 59 | } |
||
| 60 | return parent::get($name, $options, $usePeeringServiceManagers); |
||
|
|
|||
| 61 | } |
||
| 62 | } |
||
| 63 |