Neighbourhood   A
last analyzed

Complexity

Total Complexity 23

Size/Duplication

Total Lines 199
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 47
dl 0
loc 199
rs 10
c 1
b 0
f 0
wmc 23

23 Methods

Rating   Name   Duplication   Size   Complexity  
A getLsoa11ln() 0 3 1
A getLsoa11cd() 0 3 1
A getLsoa11nm() 0 3 1
A setBoundingPolygon() 0 5 1
A getWardcd() 0 3 1
A getId() 0 3 1
A getAreaM2() 0 3 1
A getPerimeterM() 0 3 1
A getBoundingPolygon() 0 3 1
A setWardcd() 0 5 1
A setAreaM2() 0 5 1
A getMiPrinx() 0 3 1
A setMiPrinx() 0 5 1
A setPerimeterM() 0 5 1
A setMsoa11cd() 0 5 1
A setLsoa11ln() 0 5 1
A setLsoa11nm() 0 5 1
A setObjectId() 0 5 1
A getGeoPoint2d() 0 3 1
A setLsoa11cd() 0 5 1
A getMsoa11cd() 0 3 1
A getObjectId() 0 3 1
A setGeoPoint2d() 0 5 1
1
<?php
2
3
namespace App\Entity;
4
5
use App\Repository\NeighbourhoodRepository;
6
use Doctrine\ORM\Mapping as ORM;
7
8
/**
9
 * @ORM\Entity(repositoryClass=NeighbourhoodRepository::class)
10
 */
11
class Neighbourhood
12
{
13
    /**
14
     * @ORM\Id
15
     * @ORM\GeneratedValue
16
     * @ORM\Column(type="integer")
17
     */
18
    private $id;
19
20
    /**
21
     * @ORM\Column(type="geometry")
22
     */
23
    private $boundingPolygon;
24
25
    /**
26
     * @ORM\Column(type="integer")
27
     */
28
    private $objectId;
29
30
    /**
31
     * @ORM\Column(type="integer")
32
     */
33
    private $miPrinx;
34
35
    /**
36
     * @ORM\Column(type="string", length=2000)
37
     */
38
    private $wardcd;
39
40
    /**
41
     * @ORM\Column(type="float")
42
     */
43
    private $perimeterM;
44
45
    /**
46
     * @ORM\Column(type="string", length=100)
47
     */
48
    private $msoa11cd;
49
50
    /**
51
     * @ORM\Column(type="string", length=200)
52
     */
53
    private $geoPoint2d;
54
55
    /**
56
     * @ORM\Column(type="float")
57
     */
58
    private $areaM2;
59
60
    /**
61
     * @ORM\Column(type="string", length=100)
62
     */
63
    private $lsoa11nm;
64
65
    /**
66
     * @ORM\Column(type="string", length=100)
67
     */
68
    private $lsoa11cd;
69
70
    /**
71
     * @ORM\Column(type="string", length=100)
72
     */
73
    private $lsoa11ln;
74
75
    public function getId(): ?int
76
    {
77
        return $this->id;
78
    }
79
80
    public function getBoundingPolygon()
81
    {
82
        return $this->boundingPolygon;
83
    }
84
85
    public function setBoundingPolygon($boundingPolygon): self
86
    {
87
        $this->boundingPolygon = $boundingPolygon;
88
89
        return $this;
90
    }
91
92
    public function getObjectId(): ?int
93
    {
94
        return $this->objectId;
95
    }
96
97
    public function setObjectId(int $objectId): self
98
    {
99
        $this->objectId = $objectId;
100
101
        return $this;
102
    }
103
104
    public function getWardcd(): ?string
105
    {
106
        return $this->wardcd;
107
    }
108
109
    public function setWardcd(string $wardcd): self
110
    {
111
        $this->wardcd = $wardcd;
112
113
        return $this;
114
    }
115
116
    public function getPerimeterM(): ?float
117
    {
118
        return $this->perimeterM;
119
    }
120
121
    public function setPerimeterM(float $perimeterM): self
122
    {
123
        $this->perimeterM = $perimeterM;
124
125
        return $this;
126
    }
127
128
    public function getMsoa11cd(): ?string
129
    {
130
        return $this->msoa11cd;
131
    }
132
133
    public function setMsoa11cd(string $msoa11cd): self
134
    {
135
        $this->msoa11cd = $msoa11cd;
136
137
        return $this;
138
    }
139
140
    public function getGeoPoint2d(): ?string
141
    {
142
        return $this->geoPoint2d;
143
    }
144
145
    public function setGeoPoint2d(string $geoPoint2d): self
146
    {
147
        $this->geoPoint2d = $geoPoint2d;
148
149
        return $this;
150
    }
151
152
    public function getAreaM2(): ?float
153
    {
154
        return $this->areaM2;
155
    }
156
157
    public function setAreaM2(float $areaM2): self
158
    {
159
        $this->areaM2 = $areaM2;
160
161
        return $this;
162
    }
163
164
    public function getLsoa11nm(): ?string
165
    {
166
        return $this->lsoa11nm;
167
    }
168
169
    public function setLsoa11nm(string $lsoa11nm): self
170
    {
171
        $this->lsoa11nm = $lsoa11nm;
172
173
        return $this;
174
    }
175
176
    public function getLsoa11cd(): ?string
177
    {
178
        return $this->lsoa11cd;
179
    }
180
181
    public function setLsoa11cd(string $lsoa11cd): self
182
    {
183
        $this->lsoa11cd = $lsoa11cd;
184
185
        return $this;
186
    }
187
188
    public function getLsoa11ln(): ?string
189
    {
190
        return $this->lsoa11ln;
191
    }
192
193
    public function setLsoa11ln(string $lsoa11ln): self
194
    {
195
        $this->lsoa11ln = $lsoa11ln;
196
197
        return $this;
198
    }
199
200
    public function getMiPrinx(): ?int
201
    {
202
        return $this->miPrinx;
203
    }
204
205
    public function setMiPrinx(int $miPrinx): self
206
    {
207
        $this->miPrinx = $miPrinx;
208
209
        return $this;
210
    }
211
}
212