Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 4 |
|
0.00% |
0 / 4 |
CRAP | |
0.00% |
0 / 1 |
OmdbApiRatingModel | |
0.00% |
0 / 4 |
|
0.00% |
0 / 4 |
20 | |
0.00% |
0 / 1 |
getSource | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getValue | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setSource | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
setValue | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace App\Models; |
4 | |
5 | |
6 | class OmdbApiRatingModel |
7 | { |
8 | private string $source; |
9 | private string $value; |
10 | |
11 | public function getSource(): string |
12 | { |
13 | return $this->source; |
14 | } |
15 | |
16 | public function getValue(): string |
17 | { |
18 | return $this->value; |
19 | } |
20 | |
21 | public function setSource(string $source): void |
22 | { |
23 | $this->source = $source; |
24 | } |
25 | |
26 | public function setValue(string $value): void |
27 | { |
28 | $this->value = $value; |
29 | } |
30 | } |