Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | public function indexAction(Request $request) |
||
14 | { |
||
15 | $subscriptionFactory = $this->get('ph.factory.subscription'); |
||
16 | |||
17 | $form = $this->createForm(SubscriptionType::class, $subscriptionFactory->createNew()); |
||
18 | $form->handleRequest($request); |
||
19 | |||
20 | return $this->render('@PHCore/index.html.twig', [ |
||
21 | 'form' => $form->createView(), |
||
22 | ]); |
||
23 | } |
||
24 | |||
39 |