EveRefType::getRefTypeId()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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