Passed
Push — master ( f7c169...528c62 )
by Angel Fernando Quiroz
08:03 queued 15s
created

XApiVerb::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
/* For licensing terms, see /license.txt */
4
5
declare(strict_types=1);
6
7
namespace Chamilo\CoreBundle\Entity;
8
9
use Chamilo\CoreBundle\Repository\XApiVerbRepository;
10
use Doctrine\ORM\Mapping as ORM;
11
12
#[ORM\Entity(repositoryClass: XApiVerbRepository::class)]
13
class XApiVerb
14
{
15
    #[ORM\Id]
16
    #[ORM\GeneratedValue]
17
    #[ORM\Column]
18
    private ?int $identifier = null;
19
20
    #[ORM\Column(length: 255)]
21
    private ?string $id = null;
22
23
    #[ORM\Column]
24
    private array $display = [];
25
26
    public function getIdentifier(): ?int
27
    {
28
        return $this->identifier;
29
    }
30
31
    public function getId(): ?string
32
    {
33
        return $this->id;
34
    }
35
36
    public function setId(string $id): static
37
    {
38
        $this->id = $id;
39
40
        return $this;
41
    }
42
43
    public function getDisplay(): array
44
    {
45
        return $this->display;
46
    }
47
48
    public function setDisplay(array $display): static
49
    {
50
        $this->display = $display;
51
52
        return $this;
53
    }
54
}
55