| Total Complexity | 5 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | class Base implements BaseInterface |
||
| 12 | { |
||
| 13 | protected string $id = ''; |
||
| 14 | protected int $updatedAt = 0; |
||
| 15 | protected int $archivedAt = 0; |
||
| 16 | protected int $createdAt = 0; |
||
| 17 | /** @var bool */ |
||
| 18 | protected $isDeleted = false; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @return string |
||
| 22 | */ |
||
| 23 | 1 | public function getId() :string |
|
| 24 | { |
||
| 25 | 1 | return $this->id; |
|
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return int |
||
| 30 | */ |
||
| 31 | 1 | public function getUpdatedAt() :int |
|
| 32 | { |
||
| 33 | 1 | return $this->updatedAt; |
|
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return int |
||
| 38 | */ |
||
| 39 | 1 | public function getArchivedAt() :int |
|
| 40 | { |
||
| 41 | 1 | return $this->archivedAt; |
|
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return int |
||
| 46 | */ |
||
| 47 | 1 | public function getCreatedAt() :int |
|
| 48 | { |
||
| 49 | 1 | return $this->archivedAt; |
|
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return bool |
||
| 54 | */ |
||
| 55 | 1 | public function isDeleted() : bool |
|
| 58 | } |
||
| 59 | } |
||
| 60 |