Passed
Push — dev ( ab5646...d4708d )
by Nico
11:11
created

BorderData::getCartographing()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 0
cts 2
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Stu\Lib\Map\VisualPanel\Layer\Data;
6
7
use Doctrine\ORM\Mapping\Column;
8
use Doctrine\ORM\Mapping\Entity;
9
10
#[Entity]
11
class BorderData extends AbstractData
12
{
13
    #[Column(type: 'string', nullable: true)]
14
    private ?string $allycolor = null;
15
    #[Column(type: 'string', nullable: true)]
16
    private ?string $usercolor = null;
17
    #[Column(type: 'string', nullable: true)]
18
    private ?string $factioncolor = null;
19
    #[Column(type: 'string', nullable: true)]
20
    private ?string $impassable = null;
21
    #[Column(type: 'string', nullable: true)]
22
    private ?string $normal = null;
23
    #[Column(type: 'string', nullable: true)]
24
    private ?string $cartographing = null;
25
    #[Column(type: 'string', nullable: true)]
26
    private ?string $complementary_color = null;
27
28
    public function getAllyColor(): ?string
29
    {
30
        return $this->allycolor;
31
    }
32
33
    public function getFactionColor(): ?string
34
    {
35
        return $this->factioncolor;
36
    }
37
38
    public function getUserColor(): ?string
39
    {
40
        return $this->usercolor;
41
    }
42
43
    public function getImpassable(): ?string
44
    {
45
        return $this->impassable;
46
    }
47
48
    public function getNormalColor(): ?string
49
    {
50
        return $this->normal;
51
    }
52
53
    public function getCartographing(): ?string
54
    {
55
        return $this->cartographing;
56
    }
57
58
    public function getComplementaryColor(): ?string
59
    {
60
        return $this->complementary_color;
61
    }
62
}
63