Total Complexity | 5 |
Total Lines | 71 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
23 | trait ShowTrait |
||
24 | { |
||
25 | /** |
||
26 | * Id |
||
27 | * @var int |
||
28 | */ |
||
29 | protected $id; |
||
30 | /** |
||
31 | * Overview |
||
32 | * @var string |
||
33 | */ |
||
34 | protected $overview; |
||
35 | /** |
||
36 | * Release date |
||
37 | * @var string |
||
38 | */ |
||
39 | protected $release_date; |
||
40 | /** |
||
41 | * Original title |
||
42 | * @var string |
||
43 | */ |
||
44 | protected $original_title; |
||
45 | /** |
||
46 | * Title |
||
47 | * @var string |
||
48 | */ |
||
49 | protected $title; |
||
50 | |||
51 | /** |
||
52 | * Get show ID |
||
53 | * @return int |
||
54 | */ |
||
55 | 9 | public function getId() : int |
|
56 | { |
||
57 | 9 | return (int) $this->id; |
|
58 | } |
||
59 | |||
60 | /** |
||
61 | * Get show overview |
||
62 | * @return string |
||
63 | */ |
||
64 | 6 | public function getOverview() : string |
|
65 | { |
||
66 | 6 | return $this->overview; |
|
67 | } |
||
68 | |||
69 | /** |
||
70 | * Get show first air date |
||
71 | * @return string |
||
72 | */ |
||
73 | 6 | public function getReleaseDate() : string |
|
74 | { |
||
75 | 6 | return $this->release_date; |
|
76 | } |
||
77 | |||
78 | /** |
||
79 | * Get show original name |
||
80 | * @return string |
||
81 | */ |
||
82 | 6 | public function getOriginalTitle() : string |
|
85 | } |
||
86 | |||
87 | /** |
||
88 | * Get show name |
||
89 | * @return string |
||
90 | */ |
||
91 | 15 | public function getTitle() : string |
|
94 | } |
||
95 | } |
||
96 |