|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
/* |
|
4
|
|
|
* This file is part of the Stinger Media Parser package. |
|
5
|
|
|
* |
|
6
|
|
|
* (c) Oliver Kotte <[email protected]> |
|
7
|
|
|
* (c) Florian Meyer <[email protected]> |
|
8
|
|
|
* |
|
9
|
|
|
* For the full copyright and license information, please view the LICENSE |
|
10
|
|
|
* file that was distributed with this source code. |
|
11
|
|
|
*/ |
|
12
|
|
|
|
|
13
|
|
|
namespace StingerSoft\MediaParsingBundle\Parser\Information; |
|
14
|
|
|
|
|
15
|
|
|
/** |
|
16
|
|
|
* Implementation of a meta file describing common information of song |
|
17
|
|
|
* @author Florian Meyer |
|
18
|
|
|
* |
|
19
|
|
|
*/ |
|
20
|
|
|
class SongInformation extends AbstractMediaInformation implements SongInformationInterface { |
|
21
|
|
|
|
|
22
|
|
|
|
|
23
|
|
|
protected $artist; |
|
24
|
|
|
|
|
25
|
|
|
protected $album; |
|
26
|
|
|
|
|
27
|
|
|
protected $trackNumber; |
|
28
|
|
|
|
|
29
|
|
|
protected $totalTrackNumbers; |
|
30
|
|
|
|
|
31
|
|
|
protected $setNumber; |
|
32
|
|
|
|
|
33
|
|
|
protected $totalSetNumbers; |
|
34
|
|
|
|
|
35
|
|
|
|
|
36
|
|
|
|
|
37
|
|
|
public function getArtist() { |
|
38
|
|
|
return $this->artist; |
|
39
|
|
|
} |
|
40
|
|
|
public function setArtist($artist) { |
|
41
|
|
|
$this->artist = $artist; |
|
42
|
|
|
return $this; |
|
43
|
|
|
} |
|
44
|
|
|
|
|
45
|
|
|
public function getAlbum() { |
|
46
|
|
|
return $this->album; |
|
47
|
|
|
} |
|
48
|
|
|
public function setAlbum($album) { |
|
49
|
|
|
$this->album = $album; |
|
50
|
|
|
return $this; |
|
51
|
|
|
} |
|
52
|
|
|
public function getTrackNumber() { |
|
53
|
|
|
return $this->trackNumber; |
|
54
|
|
|
} |
|
55
|
|
|
public function setTrackNumber($trackNumber) { |
|
56
|
|
|
$this->trackNumber = $trackNumber; |
|
57
|
|
|
return $this; |
|
58
|
|
|
} |
|
59
|
|
|
public function getTotalTrackNumbers() { |
|
60
|
|
|
return $this->totalTrackNumbers; |
|
61
|
|
|
} |
|
62
|
|
|
public function setTotalTrackNumbers($totalTrackNumbers) { |
|
63
|
|
|
$this->totalTrackNumbers = $totalTrackNumbers; |
|
64
|
|
|
return $this; |
|
65
|
|
|
} |
|
66
|
|
|
public function getSetNumber() { |
|
67
|
|
|
return $this->setNumber; |
|
68
|
|
|
} |
|
69
|
|
|
public function setSetNumber($setNumber) { |
|
70
|
|
|
$this->setNumber = $setNumber; |
|
71
|
|
|
return $this; |
|
72
|
|
|
} |
|
73
|
|
|
public function getTotalSetNumbers() { |
|
74
|
|
|
return $this->totalSetNumbers; |
|
75
|
|
|
} |
|
76
|
|
|
public function setTotalSetNumbers($totalSetNumbers) { |
|
77
|
|
|
$this->totalSetNumbers = $totalSetNumbers; |
|
78
|
|
|
return $this; |
|
79
|
|
|
} |
|
80
|
|
|
} |
|
81
|
|
|
|