| Total Complexity | 7 |
| Total Lines | 57 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | #[ORM\Entity(repositoryClass: XApiSharedStatementRepository::class)] |
||
| 11 | #[ORM\Index(columns: ['uuid'], name: 'idx_uuid')] |
||
| 12 | class XApiSharedStatement |
||
| 13 | { |
||
| 14 | #[ORM\Id] |
||
| 15 | #[ORM\GeneratedValue] |
||
| 16 | #[ORM\Column] |
||
| 17 | private ?int $id = null; |
||
| 18 | |||
| 19 | #[ORM\Column(type: 'uuid', nullable: true)] |
||
| 20 | private ?Uuid $uuid = null; |
||
| 21 | |||
| 22 | #[ORM\Column] |
||
| 23 | private array $statement = []; |
||
| 24 | |||
| 25 | #[ORM\Column] |
||
| 26 | private ?bool $sent = null; |
||
| 27 | |||
| 28 | public function getId(): ?int |
||
| 29 | { |
||
| 30 | return $this->id; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getUuid(): ?Uuid |
||
| 34 | { |
||
| 35 | return $this->uuid; |
||
| 36 | } |
||
| 37 | |||
| 38 | public function setUuid(?Uuid $uuid): static |
||
| 39 | { |
||
| 40 | $this->uuid = $uuid; |
||
| 41 | |||
| 42 | return $this; |
||
| 43 | } |
||
| 44 | |||
| 45 | public function getStatement(): array |
||
| 46 | { |
||
| 47 | return $this->statement; |
||
| 48 | } |
||
| 49 | |||
| 50 | public function setStatement(array $statement): static |
||
| 51 | { |
||
| 52 | $this->statement = $statement; |
||
| 53 | |||
| 54 | return $this; |
||
| 55 | } |
||
| 56 | |||
| 57 | public function isSent(): ?bool |
||
| 58 | { |
||
| 59 | return $this->sent; |
||
| 60 | } |
||
| 61 | |||
| 62 | public function setSent(bool $sent): static |
||
| 67 | } |
||
| 68 | } |
||
| 69 |