MapSovereignty   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 91
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 6
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 91
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getSolarSystemId() 0 4 1
A getAllianceId() 0 4 1
A getCorporationId() 0 4 1
A getFactionId() 0 4 1
A getSolarSystemName() 0 4 1
A __construct() 0 13 1
1
<?php
2
namespace Tarioch\EveapiFetcherBundle\Entity;
3
4
use Doctrine\ORM\Mapping as ORM;
5
6
/**
7
 * @ORM\Entity
8
 * @ORM\Table(name="mapSovereignty")
9
 */
10
class MapSovereignty
11
{
12
    /**
13
     * @ORM\Id @ORM\Column(name="solarSystemID", type="bigint", options={"unsigned"=true})
14
     */
15
    private $solarSystemId;
16
17
    /**
18
     * @ORM\Column(name="allianceID", type="bigint", options={"unsigned"=true})
19
     */
20
    private $allianceId;
21
22
    /**
23
     * @ORM\Column(name="corporationID", type="bigint", options={"unsigned"=true})
24
     */
25
    private $corporationId;
26
27
    /**
28
     * @ORM\Column(name="factionID", type="bigint", options={"unsigned"=true})
29
     */
30
    private $factionId;
31
32
    /**
33
     * @ORM\Column(name="solarSystemName", type="string")
34
     */
35
    private $solarSystemName;
36
37
    public function __construct(
38
        $solarSystemId,
39
        $allianceId,
40
        $corporationId,
41
        $factionId,
42
        $solarSystemName
43
    ) {
44
        $this->solarSystemId = $solarSystemId;
45
        $this->allianceId = $allianceId;
46
        $this->corporationId = $corporationId;
47
        $this->factionId = $factionId;
48
        $this->solarSystemName = $solarSystemName;
49
    }
50
51
    /**
52
     * Get solarSystemId
53
     *
54
     * @return integer
55
     */
56
    public function getSolarSystemId()
57
    {
58
        return $this->solarSystemId;
59
    }
60
61
    /**
62
     * Get allianceId
63
     *
64
     * @return integer
65
     */
66
    public function getAllianceId()
67
    {
68
        return $this->allianceId;
69
    }
70
71
    /**
72
     * Get corporationId
73
     *
74
     * @return integer
75
     */
76
    public function getCorporationId()
77
    {
78
        return $this->corporationId;
79
    }
80
81
    /**
82
     * Get factionId
83
     *
84
     * @return integer
85
     */
86
    public function getFactionId()
87
    {
88
        return $this->factionId;
89
    }
90
91
    /**
92
     * Get solarSystemName
93
     *
94
     * @return string
95
     */
96
    public function getSolarSystemName()
97
    {
98
        return $this->solarSystemName;
99
    }
100
}
101