| Total Complexity | 10 |
| Total Lines | 125 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class Image |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string|null |
||
| 9 | */ |
||
| 10 | protected $loc; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string|null |
||
| 14 | */ |
||
| 15 | protected $caption; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string|null |
||
| 19 | */ |
||
| 20 | protected $geoLocation; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var string|null |
||
| 24 | */ |
||
| 25 | protected $title; |
||
| 26 | /** |
||
| 27 | * @var string|null |
||
| 28 | */ |
||
| 29 | |||
| 30 | protected $license; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return null|string |
||
| 34 | */ |
||
| 35 | public function getLoc() |
||
| 36 | { |
||
| 37 | return $this->loc; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param null|string $loc |
||
| 42 | * |
||
| 43 | * @return $this |
||
| 44 | */ |
||
| 45 | public function setLoc($loc) |
||
| 46 | { |
||
| 47 | $this->loc = $loc; |
||
| 48 | |||
| 49 | return $this; |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return null|string |
||
| 54 | */ |
||
| 55 | public function getCaption() |
||
| 56 | { |
||
| 57 | return $this->caption; |
||
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @param null|string $caption |
||
| 62 | * |
||
| 63 | * @return $this |
||
| 64 | */ |
||
| 65 | public function setCaption($caption) |
||
| 66 | { |
||
| 67 | $this->caption = $caption; |
||
| 68 | |||
| 69 | return $this; |
||
| 70 | } |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @return null|string |
||
| 74 | */ |
||
| 75 | public function getGeoLocation() |
||
| 78 | } |
||
| 79 | |||
| 80 | /** |
||
| 81 | * @param null|string $geoLocation |
||
| 82 | * |
||
| 83 | * @return $this |
||
| 84 | */ |
||
| 85 | public function setGeoLocation($geoLocation) |
||
| 86 | { |
||
| 87 | $this->geoLocation = $geoLocation; |
||
| 88 | |||
| 89 | return $this; |
||
| 90 | } |
||
| 91 | |||
| 92 | /** |
||
| 93 | * @return null|string |
||
| 94 | */ |
||
| 95 | public function getTitle() |
||
| 98 | } |
||
| 99 | |||
| 100 | /** |
||
| 101 | * @param null|string $title |
||
| 102 | * |
||
| 103 | * @return $this |
||
| 104 | */ |
||
| 105 | public function setTitle($title) |
||
| 106 | { |
||
| 107 | $this->title = $title; |
||
| 108 | |||
| 109 | return $this; |
||
| 110 | } |
||
| 111 | |||
| 112 | /** |
||
| 113 | * @return null|string |
||
| 114 | */ |
||
| 115 | public function getLicense() |
||
| 118 | } |
||
| 119 | |||
| 120 | /** |
||
| 121 | * @param null|string $license |
||
| 122 | * |
||
| 123 | * @return $this |
||
| 124 | */ |
||
| 125 | public function setLicense($license) |
||
| 132 |