1 | <?php |
||
30 | class PartMap extends ParameterAnnotation |
||
31 | { |
||
32 | /** |
||
33 | * How the multipart request is encoded |
||
34 | * |
||
35 | * @var string |
||
36 | */ |
||
37 | private $encoding; |
||
38 | |||
39 | /** |
||
40 | * Initialize annotation data |
||
41 | */ |
||
42 | 2 | protected function init(): void |
|
48 | |||
49 | /** |
||
50 | * Get the encoding type |
||
51 | * |
||
52 | * @return string |
||
53 | */ |
||
54 | 2 | public function getEncoding(): string |
|
58 | |||
59 | /** |
||
60 | * Return the converter interface class |
||
61 | * |
||
62 | * Can be one of RequestBodyConverter, ResponseBodyConverter, or StringConverter |
||
63 | * |
||
64 | * @return string |
||
65 | */ |
||
66 | 1 | public function converterType(): ?string |
|
70 | |||
71 | /** |
||
72 | * Returns true if multiple annotations of this type are allowed |
||
73 | * |
||
74 | * @return bool |
||
75 | */ |
||
76 | 1 | public function allowMultiple(): bool |
|
80 | } |
||
81 |