EveRefType   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 40
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getRefTypeId() 0 4 1
A getRefTypeName() 0 4 1
A __construct() 0 7 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="eveRefType")
9
 */
10
class EveRefType
11
{
12
    /**
13
     * @ORM\Id @ORM\Column(name="refTypeID", type="bigint", options={"unsigned"=true})
14
     */
15
    private $refTypeId;
16
17
    /**
18
     * @ORM\Column(name="refTypeName", type="string")
19
     */
20
    private $refTypeName;
21
22
    public function __construct(
23
        $refTypeId,
24
        $refTypeName
25
    ) {
26
        $this->refTypeId = $refTypeId;
27
        $this->refTypeName = $refTypeName;
28
    }
29
30
    /**
31
     * Get refTypeId
32
     *
33
     * @return integer
34
     */
35
    public function getRefTypeId()
36
    {
37
        return $this->refTypeId;
38
    }
39
40
    /**
41
     * Get refTypeName
42
     *
43
     * @return string
44
     */
45
    public function getRefTypeName()
46
    {
47
        return $this->refTypeName;
48
    }
49
}
50