Completed
Push — master ( 03910f...346372 )
by Matt
04:36
created

Problem::getUri()   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\ProblemRepository;
6
use Doctrine\ORM\Mapping as ORM;
7
8
/**
9
 * @ORM\Entity(repositoryClass=ProblemRepository::class)
10
 */
11
class Problem
12
{
13
    /**
14
     * @ORM\Id
15
     * @ORM\GeneratedValue
16
     * @ORM\Column(type="integer")
17
     */
18
    private $id;
19
20
    /**
21
     * @ORM\Column(type="datetime")
22
     */
23
    private $createdAt;
24
25
    /**
26
     * @ORM\Column(type="text")
27
     */
28
    private $description;
29
30
    /**
31
     * @ORM\Column(type="string", length=255, nullable=true)
32
     */
33
    private $uri;
34
35
    public function getId(): ?int
36
    {
37
        return $this->id;
38
    }
39
40
    public function getCreatedAt(): ?\DateTimeInterface
41
    {
42
        return $this->createdAt;
43
    }
44
45
    public function setCreatedAt(\DateTimeInterface $createdAt): self
46
    {
47
        $this->createdAt = $createdAt;
48
49
        return $this;
50
    }
51
52
    public function getDescription(): ?string
53
    {
54
        return $this->description;
55
    }
56
57
    public function setDescription(string $description): self
58
    {
59
        $this->description = $description;
60
61
        return $this;
62
    }
63
64
    public function getUri(): ?string
65
    {
66
        return $this->uri;
67
    }
68
69
    public function setUri(?string $uri): self
70
    {
71
        $this->uri = $uri;
72
73
        return $this;
74
    }
75
}
76