| Total Complexity | 10 |
| Total Lines | 120 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class OfferArtistTitle extends AbstractOffer |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $artist; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $title; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var int |
||
| 31 | */ |
||
| 32 | private $year; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @var string |
||
| 36 | */ |
||
| 37 | private $media; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | public function getType() |
||
| 43 | { |
||
| 44 | return 'artist.title'; |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | public function getArtist() |
||
| 51 | { |
||
| 52 | return $this->artist; |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @param string $artist |
||
| 57 | * |
||
| 58 | * @return OfferArtistTitle |
||
| 59 | */ |
||
| 60 | public function setArtist($artist) |
||
| 61 | { |
||
| 62 | $this->artist = $artist; |
||
| 63 | |||
| 64 | return $this; |
||
| 65 | } |
||
| 66 | |||
| 67 | /** |
||
| 68 | * @return string |
||
| 69 | */ |
||
| 70 | public function getTitle() |
||
| 71 | { |
||
| 72 | return $this->title; |
||
| 73 | } |
||
| 74 | |||
| 75 | /** |
||
| 76 | * @param string $title |
||
| 77 | * |
||
| 78 | * @return OfferArtistTitle |
||
| 79 | */ |
||
| 80 | public function setTitle($title) |
||
| 81 | { |
||
| 82 | $this->title = $title; |
||
| 83 | |||
| 84 | return $this; |
||
| 85 | } |
||
| 86 | |||
| 87 | /** |
||
| 88 | * @return int |
||
| 89 | */ |
||
| 90 | public function getYear() |
||
| 91 | { |
||
| 92 | return $this->year; |
||
| 93 | } |
||
| 94 | |||
| 95 | /** |
||
| 96 | * @param int $year |
||
| 97 | * |
||
| 98 | * @return OfferArtistTitle |
||
| 99 | */ |
||
| 100 | public function setYear($year) |
||
| 101 | { |
||
| 102 | $this->year = $year; |
||
| 103 | |||
| 104 | return $this; |
||
| 105 | } |
||
| 106 | |||
| 107 | /** |
||
| 108 | * @return string |
||
| 109 | */ |
||
| 110 | public function getMedia() |
||
| 113 | } |
||
| 114 | |||
| 115 | /** |
||
| 116 | * @param string $media |
||
| 117 | * |
||
| 118 | * @return OfferArtistTitle |
||
| 119 | */ |
||
| 120 | public function setMedia($media) |
||
| 125 | } |
||
| 126 | |||
| 127 | /** |
||
| 128 | * @return array |
||
| 129 | */ |
||
| 130 | protected function getOptions() |
||
| 137 | ]; |
||
| 138 | } |
||
| 139 | } |
||
| 140 |