1 | <?php |
||
7 | class FormOptionsBuilder implements FormOptionsBuilderInterface |
||
8 | { |
||
9 | use Behavior\OptionTrait; |
||
10 | use Behavior\AllowExtraFieldsTrait; |
||
11 | use Behavior\ExtraFieldsMessageTrait; |
||
12 | use Behavior\AttrTrait; |
||
13 | use Behavior\BlockNameTrait; |
||
14 | use Behavior\ByReferenceTrait; |
||
15 | use Behavior\CompoundTrait; |
||
16 | use Behavior\ConstraintsTrait; |
||
17 | use Behavior\DataTrait; |
||
18 | use Behavior\DataClassTrait; |
||
19 | use Behavior\DisabledTrait; |
||
20 | use Behavior\EmptyDataTrait; |
||
21 | use Behavior\ErrorBubblingTrait; |
||
22 | use Behavior\InheritDataTrait; |
||
23 | use Behavior\InvalidMessageTrait; |
||
24 | use Behavior\InvalidMessageParametersTrait; |
||
25 | use Behavior\LabelTrait; |
||
26 | use Behavior\LabelAttrTrait; |
||
27 | use Behavior\LabelFormatTrait; |
||
28 | use Behavior\MappedTrait; |
||
29 | use Behavior\PropertyPathTrait; |
||
30 | use Behavior\RequiredTrait; |
||
31 | use Behavior\TranslationDomainTrait; |
||
32 | use Behavior\TrimTrait; |
||
33 | use Behavior\ValidationGroupsTrait; |
||
34 | |||
35 | /** |
||
36 | * @return $this |
||
37 | */ |
||
38 | public static function create() |
||
42 | |||
43 | /** |
||
44 | * @return array |
||
45 | */ |
||
46 | public function asArray() |
||
50 | |||
51 | /** |
||
52 | * @param string $action |
||
53 | * @return $this |
||
54 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#action |
||
55 | */ |
||
56 | public function setAction($action) |
||
60 | |||
61 | /** |
||
62 | * @return string |
||
63 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#action |
||
64 | */ |
||
65 | public function getAction() |
||
69 | |||
70 | /** |
||
71 | * @return $this |
||
72 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#action |
||
73 | */ |
||
74 | public function removeAction() |
||
78 | |||
79 | /** |
||
80 | * @param bool $auto |
||
81 | * @return $this |
||
82 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#auto-initialize |
||
83 | */ |
||
84 | public function setAutoInitialize($auto = true) |
||
88 | |||
89 | /** |
||
90 | * @return bool|string |
||
91 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#auto-initialize |
||
92 | */ |
||
93 | public function getAutoInitialize() |
||
97 | |||
98 | /** |
||
99 | * @return $this |
||
100 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#auto-initialize |
||
101 | */ |
||
102 | public function removeAutoInitialize() |
||
106 | |||
107 | /** |
||
108 | * @param array $mapping |
||
109 | * @return $this |
||
110 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#error-mapping |
||
111 | */ |
||
112 | public function setErrorMapping(array $mapping) |
||
116 | |||
117 | /** |
||
118 | * @return array|string |
||
119 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#error-mapping |
||
120 | */ |
||
121 | public function getErrorMapping() |
||
125 | |||
126 | /** |
||
127 | * @return $this |
||
128 | * @link http://symfony.com/doc/current/reference/forms/types/form.html#error-mapping |
||
129 | */ |
||
130 | public function removeErrorMapping() |
||
134 | |||
135 | /** |
||
136 | * @param string $intention |
||
137 | * @return $this |
||
138 | * @link http://symfony.com/doc/current/book/forms.html#csrf-protection |
||
139 | */ |
||
140 | public function setIntention($intention) |
||
144 | |||
145 | /** |
||
146 | * @return $this |
||
147 | * @link http://symfony.com/doc/current/book/forms.html#csrf-protection |
||
148 | */ |
||
149 | public function getIntention() |
||
153 | |||
154 | /** |
||
155 | * @return $this |
||
156 | * @link http://symfony.com/doc/current/book/forms.html#csrf-protection |
||
157 | */ |
||
158 | public function removeIntention() |
||
162 | } |
||
163 |