Total Complexity | 8 |
Total Lines | 74 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | class PhotoSize extends AbstractEntity |
||
6 | { |
||
7 | const ENTITY_TYPE = 'PhotoSize'; |
||
8 | |||
9 | protected $file_id; |
||
10 | |||
11 | protected $width; |
||
12 | |||
13 | protected $height; |
||
14 | |||
15 | protected $file_size; |
||
16 | |||
17 | /** |
||
18 | * @return mixed |
||
19 | */ |
||
20 | public function getFileId() |
||
21 | { |
||
22 | return $this->file_id; |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @param mixed $file_id |
||
27 | */ |
||
28 | public function setFileId($file_id) |
||
29 | { |
||
30 | $this->file_id = $file_id; |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @return mixed |
||
35 | */ |
||
36 | public function getWidth() |
||
37 | { |
||
38 | return $this->width; |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @param mixed $width |
||
43 | */ |
||
44 | public function setWidth($width) |
||
45 | { |
||
46 | $this->width = $width; |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * @return mixed |
||
51 | */ |
||
52 | public function getHeight() |
||
53 | { |
||
54 | return $this->height; |
||
55 | } |
||
56 | |||
57 | /** |
||
58 | * @param mixed $height |
||
59 | */ |
||
60 | public function setHeight($height) |
||
63 | } |
||
64 | |||
65 | /** |
||
66 | * @return mixed |
||
67 | */ |
||
68 | public function getFileSize() |
||
71 | } |
||
72 | |||
73 | /** |
||
74 | * @param mixed $file_size |
||
75 | */ |
||
76 | public function setFileSize($file_size) |
||
79 | } |
||
80 | } |
||
81 |