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