Total Complexity | 6 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | #[ORM\Table(name: 'plugin_ims_lti_platform')] |
||
9 | #[ORM\Entity] |
||
10 | class Platform |
||
11 | { |
||
12 | #[ORM\Column(name: 'public_key', type: 'text')] |
||
13 | public string $publicKey; |
||
14 | |||
15 | #[ORM\Column(name: 'id', type: 'integer')] |
||
16 | #[ORM\Id] |
||
17 | #[ORM\GeneratedValue] |
||
18 | protected ?int $id; |
||
19 | |||
20 | #[ORM\Column(name: 'kid', type: 'string')] |
||
21 | private string $kid; |
||
22 | |||
23 | #[ORM\Column(name: 'private_key', type: 'text')] |
||
24 | private string $privateKey; |
||
25 | |||
26 | public function getId(): ?int |
||
27 | { |
||
28 | return $this->id; |
||
29 | } |
||
30 | |||
31 | public function setId(int $id): static |
||
32 | { |
||
33 | $this->id = $id; |
||
34 | |||
35 | return $this; |
||
36 | } |
||
37 | |||
38 | public function getKid(): string |
||
41 | } |
||
42 | |||
43 | public function setKid(string $kid): void |
||
44 | { |
||
45 | $this->kid = $kid; |
||
46 | } |
||
47 | |||
48 | public function getPrivateKey(): string |
||
49 | { |
||
50 | return $this->privateKey; |
||
51 | } |
||
52 | |||
53 | public function setPrivateKey(string $privateKey): static |
||
58 | } |
||
59 | } |
||
60 |