| 1 | <?php |
||
| 15 | class Tag implements TagInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $title; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected $artist; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | protected $album; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var int |
||
| 34 | */ |
||
| 35 | protected $year; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @var string |
||
| 39 | */ |
||
| 40 | protected $comment; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @var int |
||
| 44 | */ |
||
| 45 | protected $track; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @var string |
||
| 49 | */ |
||
| 50 | protected $genre; |
||
| 51 | |||
| 52 | /** |
||
| 53 | * {@inheritdoc} |
||
| 54 | */ |
||
| 55 | public function getTitle() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * Set title. |
||
| 62 | * |
||
| 63 | * @param string $title The title. |
||
| 64 | * |
||
| 65 | * @return $this |
||
| 66 | */ |
||
| 67 | public function setTitle($title) |
||
| 73 | |||
| 74 | /** |
||
| 75 | * {@inheritdoc} |
||
| 76 | */ |
||
| 77 | public function getArtist() |
||
| 81 | |||
| 82 | /** |
||
| 83 | * Set artist. |
||
| 84 | * |
||
| 85 | * @param string $artist The artist. |
||
| 86 | * |
||
| 87 | * @return $this |
||
| 88 | */ |
||
| 89 | public function setArtist($artist) |
||
| 95 | |||
| 96 | /** |
||
| 97 | * {@inheritdoc} |
||
| 98 | */ |
||
| 99 | public function getAlbum() |
||
| 103 | |||
| 104 | /** |
||
| 105 | * Set album. |
||
| 106 | * |
||
| 107 | * @param string $album The album. |
||
| 108 | * |
||
| 109 | * @return $this |
||
| 110 | */ |
||
| 111 | public function setAlbum($album) |
||
| 117 | |||
| 118 | /** |
||
| 119 | * {@inheritdoc} |
||
| 120 | */ |
||
| 121 | public function getYear() |
||
| 125 | |||
| 126 | /** |
||
| 127 | * Set year. |
||
| 128 | * |
||
| 129 | * @param int $year The year. |
||
| 130 | * |
||
| 131 | * @return $this |
||
| 132 | */ |
||
| 133 | public function setYear($year) |
||
| 139 | |||
| 140 | /** |
||
| 141 | * {@inheritdoc} |
||
| 142 | */ |
||
| 143 | public function getComment() |
||
| 147 | |||
| 148 | /** |
||
| 149 | * Set comment. |
||
| 150 | * |
||
| 151 | * @param string $comment The comment. |
||
| 152 | * |
||
| 153 | * @return $this |
||
| 154 | */ |
||
| 155 | public function setComment($comment) |
||
| 161 | |||
| 162 | /** |
||
| 163 | * {@inheritdoc} |
||
| 164 | */ |
||
| 165 | public function getTrack() |
||
| 169 | |||
| 170 | /** |
||
| 171 | * Set track. |
||
| 172 | * |
||
| 173 | * @param int $track The track. |
||
| 174 | * |
||
| 175 | * @return $this |
||
| 176 | */ |
||
| 177 | public function setTrack($track) |
||
| 183 | |||
| 184 | /** |
||
| 185 | * {@inheritdoc} |
||
| 186 | */ |
||
| 187 | public function getGenre() |
||
| 191 | |||
| 192 | /** |
||
| 193 | * Set genre. |
||
| 194 | * |
||
| 195 | * @param string $genre The genre. |
||
| 196 | * |
||
| 197 | * @return $this |
||
| 198 | */ |
||
| 199 | public function setGenre($genre) |
||
| 205 | } |
||
| 206 |