1 | <?php |
||
14 | class Attachment implements AttachmentInterface |
||
15 | { |
||
16 | /** |
||
17 | * @Type("string") |
||
18 | */ |
||
19 | private $id; |
||
20 | |||
21 | /** |
||
22 | * @Type("string") |
||
23 | */ |
||
24 | private $fileName; |
||
25 | |||
26 | /** |
||
27 | * @Type("string") |
||
28 | */ |
||
29 | private $downloadUrl; |
||
30 | |||
31 | /** |
||
32 | * @Type("int") |
||
33 | */ |
||
34 | private $fileSize; |
||
35 | |||
36 | /** |
||
37 | * @Type("string") |
||
38 | */ |
||
39 | private $type; |
||
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | */ |
||
44 | public function getId() |
||
48 | |||
49 | /** |
||
50 | * @param $id |
||
51 | * |
||
52 | * @return Attachment |
||
53 | */ |
||
54 | public function setId($id) |
||
60 | |||
61 | /** |
||
62 | * @return string |
||
63 | */ |
||
64 | public function getFileName() |
||
68 | |||
69 | /** |
||
70 | * @param $fileName |
||
71 | * |
||
72 | * @return Attachment |
||
73 | */ |
||
74 | public function setFileName($fileName) |
||
80 | |||
81 | /** |
||
82 | * @return string |
||
83 | */ |
||
84 | public function getDownloadUrl() |
||
88 | |||
89 | /** |
||
90 | * @param $downloadUrl |
||
91 | * |
||
92 | * @return Attachment |
||
93 | */ |
||
94 | public function setDownloadUrl($downloadUrl) |
||
100 | |||
101 | /** |
||
102 | * @return int |
||
103 | */ |
||
104 | public function getFileSize() |
||
108 | |||
109 | /** |
||
110 | * @param $fileSize |
||
111 | * |
||
112 | * @return Attachment |
||
113 | */ |
||
114 | public function setFileSize($fileSize) |
||
120 | |||
121 | /** |
||
122 | * @return string |
||
123 | */ |
||
124 | public function getType() |
||
128 | |||
129 | /** |
||
130 | * @param $type |
||
131 | * |
||
132 | * @return Attachment |
||
133 | */ |
||
134 | public function setType($type) |
||
140 | |||
141 | /** |
||
142 | * @HandlerCallback("json", direction = "deserialization") |
||
143 | */ |
||
144 | public function deserializeFromJson(JsonDeserializationVisitor $visitor, array $data, DeserializationContext $context) |
||
166 | } |
||
167 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.