Test Setup Failed
Push — main ( 38dc31...b06171 )
by Jenny
26:47
created

Texts::getText2()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 1
b 0
f 0
1
<?php
2
3
namespace App\Entity\Goals;
4
5
use App\Repository\TextsRepository;
6
use Doctrine\ORM\Mapping as ORM;
7
8
#[ORM\Entity(repositoryClass: TextsRepository::class)]
9
class Texts
10
{
11
    #[ORM\Id]
12
    #[ORM\GeneratedValue]
13
    #[ORM\Column]
14
    private ?int $id = null;
15
16
    #[ORM\Column(length: 255)]
17
    private ?string $Target = null;
18
19
    #[ORM\Column(length: 255)]
20
    private ?string $Header = null;
21
22
    #[ORM\Column(length: 255)]
23
    private ?string $Text = null;
24
25
    #[ORM\Column(length: 255)]
26
    private ?string $Source = null;
27
28
    #[ORM\Column(length: 255)]
29
    private ?string $Text2 = null;
30
31
    public function getId(): ?int
32
    {
33
        return $this->id;
34
    }
35
36
    public function getTarget(): ?string
37
    {
38
        return $this->Target;
39
    }
40
41
    public function setTarget(string $Target): static
42
    {
43
        $this->Target = $Target;
44
45
        return $this;
46
    }
47
48
    public function getHeader(): ?string
49
    {
50
        return $this->Header;
51
    }
52
53
    public function setHeader(string $Header): static
54
    {
55
        $this->Header = $Header;
56
57
        return $this;
58
    }
59
60
    public function getText(): ?string
61
    {
62
        return $this->Text;
63
    }
64
65
    public function setText(string $Text): static
66
    {
67
        $this->Text = $Text;
68
69
        return $this;
70
    }
71
72
    public function getSource(): ?string
73
    {
74
        return $this->Source;
75
    }
76
77
    public function setSource(string $Source): static
78
    {
79
        $this->Source = $Source;
80
81
        return $this;
82
    }
83
84
    public function getText2(): ?string
85
    {
86
        return $this->Text2;
87
    }
88
89
    public function setText2(string $Text2): static
90
    {
91
        $this->Text2 = $Text2;
92
93
        return $this;
94
    }
95
96
}
97