Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
8 / 8
100.00% covered (success)
100.00%
8 / 8
CRAP
100.00% covered (success)
100.00%
1 / 1
TranslationRecord
100.00% covered (success)
100.00%
8 / 8
100.00% covered (success)
100.00%
8 / 8
8
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getId
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getLanguageCode
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getCategory
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getMessageKey
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getMessageContent
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getCreatedAt
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getUpdatedAt
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3declare(strict_types=1);
4
5namespace App\Domain\Translation\Entity;
6
7 class TranslationRecord
8{
9    public function __construct(
10        private string $id,
11        private string $languageCode,
12        private string $category,
13        private string $messageKey,
14        private string $messageContent,
15        private int $createdAt,
16        private int $updatedAt
17    ) {}
18
19    public function getId(): string
20    {
21        return $this->id;
22    }
23
24    public function getLanguageCode(): string
25    {
26        return $this->languageCode;
27    }
28
29    public function getCategory(): string
30    {
31        return $this->category;
32    }
33
34    public function getMessageKey(): string
35    {
36        return $this->messageKey;
37    }
38
39    public function getMessageContent(): string
40    {
41        return $this->messageContent;
42    }
43
44    public function getCreatedAt(): int
45    {
46        return $this->createdAt;
47    }
48
49    public function getUpdatedAt(): int
50    {
51        return $this->updatedAt;
52    }
53}