1 | <?php |
||
13 | abstract class AbstractNewsletterController extends Controller |
||
|
|||
14 | { |
||
15 | /** |
||
16 | * @Route("/{popup}", name="popup_newsletter_index", requirements={"popup": "\d+"}) |
||
17 | */ |
||
18 | public function indexAction($popup) |
||
29 | |||
30 | /** |
||
31 | * @Route("/{popup}/subscribe", name="popup_newsletter_subscribe", requirements={"popup": "\d+"}, methods={"POST"}) |
||
32 | * @Template() |
||
33 | */ |
||
34 | public function subscribeAction(Request $request, $popup) |
||
54 | |||
55 | /** |
||
56 | * @param AbstractPopup $popup |
||
57 | * |
||
58 | * @return \Symfony\Component\Form\Form |
||
59 | */ |
||
60 | protected function createSubscriptionForm(AbstractPopup $popup) |
||
72 | |||
73 | protected function getSubscriptionFormType() |
||
77 | |||
78 | protected function getIndexTemplate() |
||
82 | |||
83 | protected function getFormTemplate() |
||
87 | |||
88 | protected function getThanksTemplate() |
||
92 | |||
93 | /** |
||
94 | * @param Request $request |
||
95 | * @param array $data |
||
96 | * @param AbstractPopup $popup |
||
97 | */ |
||
98 | protected function handleSubscription(Request $request, $data, AbstractPopup $popup) |
||
102 | } |
||
103 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.