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

BorderData   A

Complexity

Total Complexity 7

Size/Duplication

Total Lines 51
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 23
dl 0
loc 51
ccs 0
cts 14
cp 0
rs 10
c 0
b 0
f 0
wmc 7

7 Methods

Rating   Name   Duplication   Size   Complexity  
A getAllyColor() 0 3 1
A getNormalColor() 0 3 1
A getUserColor() 0 3 1
A getFactionColor() 0 3 1
A getComplementaryColor() 0 3 1
A getImpassable() 0 3 1
A getCartographing() 0 3 1
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