Image::getGeoLocation()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Sludio\HelperBundle\Sitemap\Entity;
4
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()
76
    {
77
        return $this->geoLocation;
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()
96
    {
97
        return $this->title;
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()
116
    {
117
        return $this->license;
118
    }
119
120
    /**
121
     * @param null|string $license
122
     *
123
     * @return $this
124
     */
125
    public function setLicense($license)
126
    {
127
        $this->license = $license;
128
129
        return $this;
130
    }
131
}
132