Total Complexity | 5 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
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 |
||
53 | } |
||
54 | } |
||
55 |