Total Complexity | 4 |
Total Lines | 62 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | class VideoFile { |
||
27 | 1 | ||
28 | 1 | use IntegerHeightTrait; |
|
29 | use IntegerIdTrait { |
||
30 | setId as public; |
||
31 | 1 | } |
|
32 | 1 | use IntegerWidthTrait; |
|
33 | use StringLinkTrait; |
||
34 | use StringRawDataTrait; |
||
35 | |||
36 | /** |
||
37 | * File type. |
||
38 | * |
||
39 | * @var string|null |
||
40 | */ |
||
41 | private $fileType; |
||
42 | |||
43 | /** |
||
44 | * Quality. |
||
45 | * |
||
46 | * @var string|null |
||
47 | */ |
||
48 | private $quality; |
||
49 | |||
50 | /** |
||
51 | * Get the file type. |
||
52 | * |
||
53 | 15 | * @return string|null Returns the file type. |
|
54 | 15 | */ |
|
55 | public function getFileType(): ?string { |
||
56 | return $this->fileType; |
||
57 | } |
||
58 | |||
59 | /** |
||
60 | * Get the quality. |
||
61 | * |
||
62 | 15 | * @return string|null Returns the quality. |
|
63 | 15 | */ |
|
64 | public function getQuality(): ?string { |
||
66 | } |
||
67 | |||
68 | /** |
||
69 | * Set the file type. |
||
70 | * |
||
71 | * @param string|null $fileType The file type. |
||
72 | 25 | * @return VideoFile Returns this video file. |
|
73 | 25 | */ |
|
74 | 25 | public function setFileType(?string $fileType): VideoFile { |
|
75 | $this->fileType = $fileType; |
||
76 | return $this; |
||
77 | } |
||
78 | |||
79 | /** |
||
80 | * Set the quality. |
||
81 | * |
||
82 | * @param string|null $quality Returns the quality. |
||
83 | 25 | * @return VideoFile Returns this video file. |
|
84 | 25 | */ |
|
85 | 25 | public function setQuality(?string $quality): VideoFile { |
|
88 | } |
||
89 | } |
||
90 |