1 | <?php |
||
7 | class RootFormOptionsBuilder extends FormOptionsBuilder implements RootFormOptionsBuilderInterface |
||
8 | { |
||
9 | /** |
||
10 | * @param string $name |
||
11 | * @return $this |
||
12 | */ |
||
13 | public function setCsrfFieldName($name) |
||
17 | |||
18 | /** |
||
19 | * @return string |
||
20 | */ |
||
21 | public function getCsrfFieldName() |
||
25 | |||
26 | /** |
||
27 | * @return $this |
||
28 | */ |
||
29 | public function removeCsrfFieldName() |
||
33 | |||
34 | /** |
||
35 | * @param string $message |
||
36 | * @return $this |
||
37 | */ |
||
38 | public function setCsrfMessage($message) |
||
42 | |||
43 | /** |
||
44 | * @return string |
||
45 | */ |
||
46 | public function getCsrfMessage() |
||
50 | |||
51 | /** |
||
52 | * @return $this |
||
53 | */ |
||
54 | public function removeCsrfMessage() |
||
58 | |||
59 | /** |
||
60 | * @param bool $protection |
||
61 | * @return $this |
||
62 | */ |
||
63 | public function setCsrfProtection($protection = true) |
||
67 | |||
68 | /** |
||
69 | * @return bool |
||
70 | */ |
||
71 | public function getCsrfProtection() |
||
75 | |||
76 | /** |
||
77 | * @return $this |
||
78 | */ |
||
79 | public function removeCsrfProtection() |
||
83 | |||
84 | /** |
||
85 | * @param CsrfTokenManagerInterface $provider |
||
86 | * @return $this |
||
87 | */ |
||
88 | public function setCsrfProvider(CsrfTokenManagerInterface $provider) |
||
92 | |||
93 | /** |
||
94 | * @return CsrfTokenManagerInterface|string |
||
95 | */ |
||
96 | public function getCsrfProvider() |
||
100 | |||
101 | /** |
||
102 | * @return $this |
||
103 | */ |
||
104 | public function removeCsrfProvider() |
||
108 | |||
109 | /** |
||
110 | * @param string $id |
||
111 | * @return $this |
||
112 | */ |
||
113 | public function setCsrfTokenId($id) |
||
117 | |||
118 | /** |
||
119 | * @return string |
||
120 | */ |
||
121 | public function getCsrfTokenId() |
||
125 | |||
126 | /** |
||
127 | * @return $this |
||
128 | */ |
||
129 | public function removeCsrfTokenId() |
||
133 | |||
134 | /** |
||
135 | * @param CsrfTokenManagerInterface $manager |
||
136 | * @return $this |
||
137 | */ |
||
138 | public function setCsrfTokenManager(CsrfTokenManagerInterface $manager) |
||
142 | |||
143 | /** |
||
144 | * @return CsrfTokenManagerInterface|string |
||
145 | */ |
||
146 | public function getCsrfTokenManager() |
||
150 | |||
151 | /** |
||
152 | * @return $this |
||
153 | */ |
||
154 | public function removeCsrfTokenManager() |
||
158 | |||
159 | /** |
||
160 | * @param string $method |
||
161 | * @return $this |
||
162 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#post-max-size-message |
||
163 | */ |
||
164 | public function setMethod($method) |
||
168 | |||
169 | /** |
||
170 | * @return string |
||
171 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#post-max-size-message |
||
172 | */ |
||
173 | public function getMethod() |
||
177 | |||
178 | /** |
||
179 | * @return $this |
||
180 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#post-max-size-message |
||
181 | */ |
||
182 | public function removeMethod() |
||
186 | |||
187 | /** |
||
188 | * @param string $message |
||
189 | * @return $this |
||
190 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#post-max-size-message |
||
191 | */ |
||
192 | public function setPostMaxSizeMessage($message) |
||
196 | |||
197 | /** |
||
198 | * @return string |
||
199 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#post-max-size-message |
||
200 | */ |
||
201 | public function getPostMaxSizeMessage() |
||
205 | |||
206 | /** |
||
207 | * @return $this |
||
208 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#post-max-size-message |
||
209 | */ |
||
210 | public function removePostMaxSizeMessage() |
||
214 | } |
||
215 |