Total Complexity | 6 |
Total Lines | 59 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | class Track |
||
27 | { |
||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | private $href; |
||
32 | |||
33 | /** |
||
34 | * @var string |
||
35 | */ |
||
36 | private $kind; |
||
37 | |||
38 | /** |
||
39 | * @var string |
||
40 | */ |
||
41 | private $label; |
||
42 | |||
43 | /** |
||
44 | * @var string |
||
45 | */ |
||
46 | private $lang; |
||
47 | |||
48 | /** |
||
49 | * @var string |
||
50 | */ |
||
51 | private $source; |
||
52 | |||
53 | public function __construct($track) |
||
54 | { |
||
55 | $this->href = $track->href; |
||
56 | $this->kind = $track->kind; |
||
57 | $this->label = $track->label; |
||
58 | $this->lang = $track->lang; |
||
59 | $this->source = $track->source; |
||
60 | } |
||
61 | |||
62 | public function getHref() |
||
63 | { |
||
64 | return $this->href; |
||
65 | } |
||
66 | |||
67 | public function getKind() |
||
70 | } |
||
71 | |||
72 | public function getLabel() |
||
73 | { |
||
74 | return $this->label; |
||
75 | } |
||
76 | |||
77 | public function getLang() |
||
78 | { |
||
79 | return $this->lang; |
||
80 | } |
||
81 | |||
82 | public function getSource() |
||
85 | } |
||
86 | } |
||
87 |