Completed
Pull Request — master (#75)
by Matt
06:12
created

Settings::getId()   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
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace App\Entity;
4
5
use App\Repository\SettingsRepository;
6
use Doctrine\ORM\Mapping as ORM;
7
8
/**
9
 * @ORM\Entity(repositoryClass=SettingsRepository::class)
10
 */
11
class Settings
12
{
13
    /**
14
     * @ORM\Id
15
     * @ORM\GeneratedValue
16
     * @ORM\Column(type="integer")
17
     */
18
    private $id;
19
20
    /**
21
     * @ORM\Column(type="string", length=255, nullable=true)
22
     */
23
    private $siteTitle;
24
25
    /**
26
     * @ORM\Column(type="string", length=255, nullable=true)
27
     */
28
    private $siteSubtitle;
29
30
    /**
31
     * @ORM\Column(type="text", nullable=true)
32
     */
33
    private $siteAbout;
34
35
    /**
36
     * @ORM\Column(type="string", length=255, nullable=true)
37
     */
38
    private $twitterHandle;
39
40
    public function getId(): ?int
41
    {
42
        return $this->id;
43
    }
44
45
    public function getSiteTitle(): ?string
46
    {
47
        return $this->siteTitle;
48
    }
49
50
    public function setSiteTitle(?string $siteTitle): self
51
    {
52
        $this->siteTitle = $siteTitle;
53
54
        return $this;
55
    }
56
57
    public function getSiteSubtitle(): ?string
58
    {
59
        return $this->siteSubtitle;
60
    }
61
62
    public function setSiteSubtitle(?string $siteSubtitle): self
63
    {
64
        $this->siteSubtitle = $siteSubtitle;
65
66
        return $this;
67
    }
68
69
    public function getSiteAbout(): ?string
70
    {
71
        return $this->siteAbout;
72
    }
73
74
    public function setSiteAbout(?string $siteAbout): self
75
    {
76
        $this->siteAbout = $siteAbout;
77
78
        return $this;
79
    }
80
81
    public function getTwitterHandle(): ?string
82
    {
83
        return $this->twitterHandle;
84
    }
85
86
    public function setTwitterHandle(?string $twitterHandle): self
87
    {
88
        $this->twitterHandle = $twitterHandle;
89
90
        return $this;
91
    }
92
}
93