1 | <?php |
||
10 | class FileOptionsBuilder extends AbstractOptionsBuilder |
||
11 | { |
||
12 | use OptionAccessorsTrait; |
||
13 | /** @link http://symfony.com/doc/current/reference/forms/types/file.html#data-class */ |
||
14 | use DataClassTrait; |
||
15 | /** @link http://symfony.com/doc/current/reference/forms/types/file.html#label-format */ |
||
16 | use LabelFormatTrait; |
||
17 | |||
18 | /** |
||
19 | * @return string |
||
20 | */ |
||
21 | public static function getBuilderType() |
||
25 | |||
26 | /** |
||
27 | * @param bool $multiple |
||
28 | * @return $this |
||
29 | * @link http://symfony.com/doc/current/reference/forms/types/file.html#multiple |
||
30 | */ |
||
31 | public function setMultiple($multiple = true) |
||
35 | |||
36 | /** |
||
37 | * @return bool|null |
||
38 | */ |
||
39 | public function getMultiple() |
||
43 | |||
44 | /** |
||
45 | * @return $this |
||
46 | */ |
||
47 | public function removeMultiple() |
||
51 | |||
52 | /** |
||
53 | * @param array $mapping |
||
54 | * @return $this |
||
55 | * @link http://symfony.com/doc/current/reference/forms/types/file.html#error-mapping |
||
56 | */ |
||
57 | public function setErrorMapping(array $mapping) |
||
61 | |||
62 | /** |
||
63 | * @return mixed |
||
64 | */ |
||
65 | public function getErrorMapping() |
||
69 | |||
70 | /** |
||
71 | * @return $this |
||
72 | */ |
||
73 | public function removeErrorMapping() |
||
77 | } |
||
78 |