1 | <?php |
||
32 | class AbstractController |
||
|
|||
33 | { |
||
34 | 279 | public function __construct() |
|
37 | |||
38 | /** |
||
39 | * getBoundForm |
||
40 | * |
||
41 | * @deprecated |
||
42 | */ |
||
43 | protected function getBoundForm(Application $app, $type) |
||
44 | { |
||
45 | @trigger_error('The '.__METHOD__.' method is deprecated.', E_USER_DEPRECATED); |
||
46 | |||
47 | $form = $app['form.factory'] |
||
48 | ->createBuilder($app['eccube.form.type.' . $type], $app['eccube.entity.' . $type]) |
||
49 | ->getForm(); |
||
50 | $form->handleRequest($app['request']); |
||
51 | |||
52 | return $form; |
||
53 | } |
||
54 | |||
55 | 4 | protected function getSecurity($app) |
|
59 | |||
60 | 53 | protected function isTokenValid($app) |
|
71 | |||
72 | } |
||
73 |