1 | <?php |
||
19 | class Multipart implements DynamoAnnotation |
||
20 | { |
||
21 | const NAME = 'multipart'; |
||
22 | |||
23 | /** |
||
24 | * If boundary is specified |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | private $boundary; |
||
29 | |||
30 | /** |
||
31 | * Constructor |
||
32 | * |
||
33 | * @param array $params |
||
34 | */ |
||
35 | public function __construct(array $params) |
||
39 | |||
40 | /** |
||
41 | * Get the boundary |
||
42 | * |
||
43 | * @return string |
||
44 | */ |
||
45 | public function getBoundary() |
||
49 | |||
50 | /** |
||
51 | * The name of the annotation or class of annotations |
||
52 | * |
||
53 | * @return string |
||
54 | */ |
||
55 | public function getName() |
||
59 | |||
60 | /** |
||
61 | * Whether or not multiple annotations of this type can |
||
62 | * be added to a method |
||
63 | * |
||
64 | * @return bool |
||
65 | */ |
||
66 | public function allowMultiple() |
||
70 | } |
||
71 |