| Total Complexity | 9 |
| Total Lines | 80 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 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 |
||
| 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 |
||
| 79 | } |
||
| 80 | |||
| 81 | public function getTwitterHandle(): ?string |
||
| 82 | { |
||
| 83 | return $this->twitterHandle; |
||
| 84 | } |
||
| 85 | |||
| 86 | public function setTwitterHandle(?string $twitterHandle): self |
||
| 91 | } |
||
| 92 | } |
||
| 93 |